Hypertalk Syntax
Syntax statements show the most general form of a command or function with
all the elements in the correct order. The syntax statements shown below
use the
following typographic conventions. Words or phrases in this kind of
type are Hypertalk keywords that you type exactly as shown. Square brackets
[ ]
enclose optional elements that may be included if you need them. (Don't
type the brackets.) Emphasized words are placeholders describing general
elements, not
specific names. For example, effectName stands for any of the Hypertalk
visual effect names, such as barn door, checkerboard, or zoom out.
Some Commands
go [to] stack
go [to] card [of stack]
go [to] background [of stack]
put expression
put expression into container
set [the] property to expression
set [the] property of object to expression
show button
show field
hide button
hide field
Some Functions
exp2(number)
average(list of numbers)
sqrt(number)
length(text)
date()
time()
Some Operators
Numeric:
*, /, +, -, ^
Comparison:
>, <, <=, >=, <>, =
Logical:
not, and, or
Some Properties
Global:
userLevel, cursor
Button:
hilite, icon, name, visible
Field:
lockText, scroll, showLines,
visible