Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
Value returned: the value of the expression after HyperTalk evaluates it
There is no limit to the number of characters that the value
can have as its argument.
When the argument of value
is a multitoken literal expression, the expression evaluates to itself:
put value("HyperCard 2.2")
yields HyperCard 2.2
HyperTalk Definition
Any HyperTalk expression. All expressions evaluate to text, a number, or a constant.
For example:
Note: Formally, HyperCard distinguishes between factors (simple values) and expressions. The difference between factors and expressions matters only if you like to drop parentheses. Most functions take factors as their parameters, which is why length of 3 + 5
returns 6
and length of (3 + 5)
returns 1
. In short, always use parentheses to group things the way you want them to evaluate, and you won’t have to worry about the difference between factors and expressions.
AppleScript Definition
Any series of words that has a value.