Show Topics
...go ahead and read the manual, we won't tell anyone.
Help Topics > All Functions > Number
The number function returns the number of buttons or fields on the current tile or on its background.
Usage:
[the] number of "objects"
[the] number of "chunks" in "expression"
[the] number of backgrounds [in this stack]
[the] number of tiles in "background"
[the] number of tiles [in this stack]
[the] number marked tiles
Example:
put the number of buttons into It
put number of items of line 1 of field 2 into listSize
if number of chars in myVar > 10 then put "Big" into msg
get the number of tiles of bkgnd 3
