 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
paramthe param of posInteger
Value returned: the value (as opposed to the name) of a parameter variable in the current handler, or empty if the parameter variable doesn't exist The param of 0 is the name of the message itself. Examplesparam of 1 param(1) put param(0) into theMessageName
Demo Scripton paramDemo showParams 1, "a", "this is fun", the number of cards end paramDemo on showParams repeat with N = 0 to the paramCount put N & ":" && space && param(N) & return after theMessage end repeat answer "The parameters are:" & return & return & theMessage end showParams
Related Topics Placeholders
posIntegerAn expression that evaluates to a positive integer. For example: 3 67 mod 13 the number of bg fields the number of backgrounds the number of cards div 2
See also: background , bkgnd , button , card , chunk , field , menu , and menuItem
HyperTalk Reference
|