HyperTalk - Functions (Reference) 另he abs of --returns the absolute value of 仟bs () ------------------------------------------------------------------------ 另he annuity of , --computes present or future values of ordinary 仟nnuity. 仟nnuity (,) -- is interest rate, is number of periods. ------------------------------------------------------------------------ 另he atan of --returns the trigonometric arc tangent of 仟tan () ------------------------------------------------------------------------ 仟verage () --returns the average of number in list. ------------------------------------------------------------------------ 卉harToNum --returns ASCII equivalent of 另he charToNum of ------------------------------------------------------------------------ 另he clickChunk 另he clickH --returns the horizontal location of most recent mouse click 另he clickV --returns the vertical location of most recent mouse click 另he clickLine --returns the specification of the line clicked in a locked field 另he clickLoc --returns the locations of the most recent mouse click as "h,v" 另he clickText --returns the text of a single word clicked in a locked field ------------------------------------------------------------------------ 另he commandKey --returns "up" or "down" ------------------------------------------------------------------------ 卉ompound (,) --computes present or future value of a compound interest-bearing account. ------------------------------------------------------------------------ 另he cos of --returns the cosine of 卉os() ------------------------------------------------------------------------ 另he [ ] date -- is long, short, abbreviated, or abbrev. Returns a string representing the current date set in the Mac. ------------------------------------------------------------------------ 另he destination ------------------------------------------------------------------------ 另he diskSpace ------------------------------------------------------------------------ 另he exp of --returns the mathematical exponential of 占xp () 另he exp1 of --returns 1 less than the mathematical exponential of 占xp1() 另he exp2 of --returns the value of 2 raised to the power 占xp2 () ------------------------------------------------------------------------ 另he foundChuck --returns a chunk expression that indicates where the most recent find command located its argument. 另he foundField --returns a field expression for the field in which the most recent find command located its argument. 另he foundLine --returns a line expression for the field in which the most recent find command located its argument. 另he foundText --returns the characters enclosed in the box after the most recent find command has located its argument. ------------------------------------------------------------------------ 另he length of --returns the number of characters in 召ength () ------------------------------------------------------------------------ 另he ln of --returns the base-e or natural logarithm of 召n () 另he ln1 of --returns the base-e or natural logarithm of 1 召n1 () 另he log2 of --returns the base-2 logarithm of 召og2 () ------------------------------------------------------------------------ 叮ax () --returns the highest-value number from 叮in () --returns the lowest-value number from ------------------------------------------------------------------------ 另he mouse --returns "up" or "down" 另he mouseClick --returns "true" or "false" 另he mouseH --returns the horizontal location of mouse pointer 另he mouseLoc --returns the point where mouse pointer is located as "h,v" 另he mouseV --returns the vertical location of mouse pointer ------------------------------------------------------------------------ 加 the ] number of 加 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 加 the ] number of in -- = characters, words, items, lines ------------------------------------------------------------------------ 另he numToChar of --returns the character whose ASCII value is 叩umToChar () ------------------------------------------------------------------------ 叨ffset (,) --returns the number of characters from the beginning of string2 at which string1 begins. ------------------------------------------------------------------------ 另he optionKey --returns "up" or "down" ------------------------------------------------------------------------ 另he param of --returns a parameter value from the parameter list passed to the currently executing handler. 叼aram () 另he paramCount --returns number of parameters passed to currently executing handler 另he params --returns entire parameter list, including message name ------------------------------------------------------------------------ 另he random of --returns a random integer between 1 and 叵andom () ------------------------------------------------------------------------ 另he result --returns text string containing an explanation of the error from the previously executed command. ------------------------------------------------------------------------ 另he round of --returns the number rounded off to nearest integer. 叵ound () ------------------------------------------------------------------------ 另he screenRect --the rect of the entire screen in which the HC window resides. ------------------------------------------------------------------------ 另he seconds --returns an integer showing the number of seconds between Midnight, Jan 1, 1904 and the current time set on the Mac. 另he secs ------------------------------------------------------------------------ 另he selectedButton of --returns the descriptor of the button selected 另he selectedChunk --returns a chunk expression that indicates the range of characters currently highlighted. 另he selectedField --returns a field expression for the range of characters that is currently hilighted. 另he selectedLine --returns a line expression for the range of characters that is currently hilighted. 另he selectedLoc --returns a point at which the selected text begins. 另he selectedText --returns the text that is currently hilighted. ------------------------------------------------------------------------ 另he shiftKey --returns "up" or "down" ------------------------------------------------------------------------ 另he sin of --returns the sine of 叫in () ------------------------------------------------------------------------ 另he sound --returns the name of the sound resource currently playing ------------------------------------------------------------------------ 另he sqrt of --returns the square root of 叫qrt () ------------------------------------------------------------------------ 另he stacks --returns a list of pathways of open stacks. 另he stackSpace --returns space remaining in Mac operating system. ------------------------------------------------------------------------ 另he systemVersion --returns string representing current system vesrion. ------------------------------------------------------------------------ 另he tan of --returns the tangent of 另an () ------------------------------------------------------------------------ 另he target --returns a string indicating the original recipient of the message. ------------------------------------------------------------------------ 另he ticks --returns an integer representing the number of ticks (1/60th of a second) since the Mac was turned on or restarted. ------------------------------------------------------------------------ 另he time --returns the time as a text string. 另he short time 另he long time ------------------------------------------------------------------------ 另he tool --returns the name of the currently selected tool 另ool() ------------------------------------------------------------------------ 另he trunc of --returns the integer part of 另runc () ------------------------------------------------------------------------ 另he value of --evaluates as an expression 史alue () ------------------------------------------------------------------------ 另he windows --returns list of names of windows available. 叱indows()