
Functions
Reference Index
the abs of <number> returns the absolute value of <number>
abs (<number>)
the annuity of <rate>, <periods> computes present or future
values of ordinary
annuity.
annuity (<rate>,<periods>) <rate> is interest
rate, <periods> is number of periods.
the atan of <number> returns the trigonometric arc tangent of
<number>
atan (<number>)
average (<list>) returns the average of number in list.
charToNum <char> returns ASCII equivalent of
<char>
the charToNum of <char>
the clickChunk
the clickH returns the horizontal location of most recent mouse click
the clickV returns the vertical location of most recent mouse click
the clickLine returns the specification of the line clicked in a locked
field
the clickLoc returns the locations of the most recent mouse click as
"h,v"
the clickText returns the text of a single word clicked in a locked field
the commandKey returns "up" or "down"
compound (<rate>,<periods>) computes present or future value of
a compound interestbearing account.
the cos of <angle> returns the cosine of <angle>
cos(<angle>)
the [ <modifier> ] date <modifier> is long, short,
abbreviated, or abbrev. Returns a string representing the current date
set in the Mac.
the destination
the diskSpace
the exp of <number> returns the mathematical exponential of
<number>
exp (<number>)
the exp1 of <number> returns 1 less than the mathematical
exponential of <number>
exp1(<number>)
the exp2 of <number> returns the value of 2 raised to the power
<number>
exp2 (<number>)
the foundChuck returns a chunk expression that indicates where the most
recent find command located its argument.
the foundField returns a field expression for the field in which the most recent find command located its argument.
the foundLine returns a line expression for the field in which the most recent find command located its argument.
the foundText returns the characters enclosed in the box after the most recent find command has located its argument.
the length of <factor> returns the number of characters in
<factor>
length (<expression>)
the ln of <number> returns the basee or natural logarithm of
<number>
ln (<number>)
the ln1 of <number> returns the basee or natural logarithm of 1
ln1 (<number>)
the log2 of <number> returns the base2 logarithm of
<number>
log2 (<number>)
max (<list>) returns the highestvalue number from <list>
min (<list>) returns the lowestvalue number from <list>
the mouse returns "up" or "down"
the mouseClick returns "true" or "false"
the mouseH returns the horizontal location of mouse pointer
the mouseLoc returns the point where mouse pointer is located as "h,v"
the mouseV returns the vertical location of mouse pointer
[ the ] number of <objects>
[ the ] number of [ background ] buttons returns the number of background
or card buttons or fields.
[ the ] number of [ card ] fields
[ the ] number of backgrounds [ in this stack ]
[ the ] number of cards
[ the ] number of cards in <background>
[ the ] number of <chunks> in <expression> <chunks> =
characters, words, items, lines
the numToChar of <source> returns the character whose ASCII value is
<source>
numToChar (<source>)
offset (<string1>,<string2>) returns the number of characters
from the beginning of string2 at which string1 begins.
the optionKey returns "up" or "down"
the param of <factor> returns a parameter value from the parameter
list passed to the currently executing handler.
param (<expression>)
the paramCount returns number of parameters passed to currently executing handler
the params returns entire parameter list, including message name
the random of <factor> returns a random integer between 1 and
<source>
random (<expression>)
the result returns text string containing an explanation of the error from
the previously executed command.
the round of <factor> returns the <source> number rounded off
to nearest integer.
round (<expression>)
the screenRect the rect of the entire screen in which the HC window
resides.
the seconds returns an integer showing the number of seconds between
Midnight, Jan 1, 1904 and the current time set on the Mac.
the secs
the selectedButton of <family> returns the descriptor of the button
selected
the selectedChunk returns a chunk expression that indicates the range of characters currently highlighted.
the selectedField returns a field expression for the range of characters
that is currently hilighted.
the selectedLine returns a line expression for the range of characters
that is currently hilighted.
the selectedLoc returns a point at which the selected text begins.
the selectedText returns the text that is currently hilighted.
the shiftKey returns "up" or "down"
the sin of <angle> returns the sine of <angle>
sin (<angle>)
the sound returns the name of the sound resource currently playing
the sqrt of <number> returns the square root of <number>
sqrt (<number>)
the stacks returns a list of pathways of open stacks.
the stackSpace returns space remaining in Mac operating system.
the systemVersion returns string representing current system vesrion.
the tan of <angle> returns the tangent of <angle>
tan (<angle>)
the target returns a string indicating the original recipient of the
message.
the ticks returns an integer representing the number of ticks
(1/60th of a second) since the Mac was turned on or restarted.
the time returns the time as a text string.
the short time
the long time
the tool returns the name of the currently selected tool
tool()
the trunc of <number> returns the integer part of <number>
trunc (<expression>)
the value of <factor> evaluates <factor> as an expression
value (<expression>)
the windows returns list of names of windows available.
windows()
Return to top of page
