Index ButtonsFields Message Variables
Ask/Answer Graphics Sound Menus QuickTime

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.

    backlist ( ) --returns the names of cards previously seen.

    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 clipboard --returns the type of data currently in the clipboard

    the commandKey --returns "up" or "down"

    compound (<rate>,<periods>) --computes present or future value of a compound interest-bearing account.

    the cos of <angle> --returns the cosine of <angle>
    cos(<angle>)

    the currentMenu of <position> --returns the long name of the menu currently inserted in <position>
    the currentWindow of <position> --returns the long name of the window in <position>
    the [ <modifier> ] date --<modifier> is long, short, abbreviated, or abbrev. Returns a string representing the current date set in the Mac.

    the diskSpace --returns the number of bytes on the current default volume

    the errorObject --returns descriptor of the object whose script produced the error
    exists <objectDescriptor> --returns true if objectDescriptor exists
    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>)

    filePlayTime --returns string indicating time at which sound file is playing
    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 foundWindow --returns the descriptor of the window that owns the field in which the most recent find command located its argument

    globalLoc <theLoc> --converts point coordinates to a global coordinate system
    globals --returns item list of names of global variables initialised since start-up
    hasMemory <theSize> --returns true if theSize in bytes is available in a contiguous block
    the heapSpace --returns largest block of memory in SuperCard application heap
    intersect <objectDesriptor 1, objectDesriptor 2> --returns true if boundaries of objects overlap
    isNumber <theNumber> --returns true or false
    the length of <dataValue> --returns the number of characters in <dataValue>
    length <dataValue> len <dataValue>

    the ln of <number> --returns the base-e or natural logarithm of <number>
    ln (<number>)
    the ln1 of <number> --returns the base-e or natural logarithm of 1
    ln1 (<number>)
    the log2 of <number> --returns the base-2 logarithm of <number>
    log2 (<number>)

    localLoc <theLoc> --converts point coordinates to a local coordinate system
    max (<list>) --returns the highest-value number from <list>
    min (<list>) --returns the lowest-value 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 [ the ] number of [ card ] fields
    [ the ] number of backgrounds [ in this window ]
    [ 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 screenLoc --the coordinates for the centre of the screen in which the current window resides.

    the screenRect --the rect of the screen in which the current 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 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 sharedFile --returns path name of current sharedFile project

    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 soundDevices --returns list of names of available sound input devices

    the speechBusy --returns the number of pending or executing say commands

    the sqrt of <number> --returns the square root of <number>
    sqrt (<number>)

    the stackSpace --returns space remaining in Mac operating system.

    the sum of <numberList>--returns sum of all comma-delimited values in numberList
    sum <numberList>
    the systemVersion --returns string representing current system vesrion.

    the tan of <angle> --returns the tangent of <angle>
    tan (<angle>)

    the textHeightSum --returns height in pixels

    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 topWindow --returns the top open window
    topWindow <>

    the trunc of <number> --returns the integer part of <number>
    trunc (<expression>)

    the value of <factor> --evaluates <factor> as an expression
    value (<expression>)

    the version --returns version of SuperCard

    the voices --returns names of available PlainTalk voices
    voices

    within --determines if location is within an object
Return to top of page