Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 6 - Script Manager / Script Manager Reference
Constants


Token Codes

The following constants define the types of tokens recognized by the IntlTokenize function and specified in the field theToken of the token record (type TokenRec):
ConstantValueExplanation (Continued)
delimPad-2Delimiter pad (special code)
tokenEmpty-1Empty flag
tokenUnknown0Has no existing token type
tokenWhite1Whitespace character
tokenLeftLit2Opening literal marker
tokenRightLit3Closing literal marker
tokenAlpha4Alphabetic
tokenNumeric5Numeric
tokenNewLine6New line
tokenLeftComment7Opening comment marker
tokenRightComment8Closing comment marker
tokenLiteral9Literal
tokenEscape10Escape character
tokenAltNum11Alternate number (such as at $B0-$B9)
tokenRealNum12Real number
tokenAltReal13Alternate real number
tokenReserve114(reserved 1)
tokenReserve215(reserved 2)
tokenLeftParen16Opening parenthesis
tokenLeftBracket18Opening square bracket
tokenRightBracket19Closing square bracket
tokenLeftCurly20Opening curly bracket
tokenRightCurly 21Closing curly bracket
tokenLeftEnclose22Opening European double quote
tokenRightEnclose23Closing European double quote
tokenPlus24Plus
tokenMinus25Minus
tokenAsterisk26Times/multiply
tokenDivide27Divide
tokenSlash29Slash
tokenBackSlash30Backslash
tokenLess31Less than
tokenGreat32Greater than
tokenEqual33Equal
tokenLessEqual234Less than or equal to (2 symbols)
tokenLessEqual135Less than or equal to (1 symbol)
tokenGreatEqual236Greater than or equal to (2 symbols)
tokenGreatEqual137Greater than or equal to (1 symbol)
token2Equal38Double equal
tokenColonEqual39Colon equal
   
tokenNotEqual40Not equal
tokenLessGreat41Less/greater (not equal in Pascal)
tokenExclamEqual42Exclamation equal (not equal in C)
tokenExclam43Exclamation point
tokenTilde44Centered tilde
tokenComma45Comma
tokenPeriod46Period
tokenLeft2Quote47Opening double quote
tokenRight2Quote48Closing double quote
tokenLeft1Quote49Opening single quote
tokenRight1Quote50Closing single quote
token2Quote51Double quote
token1Quote52Single quote
tokenSemicolon53Semicolon
tokenPercent54Percent
tokenCaret55Caret
tokenUnderline56Underline
tokenAmpersand57Ampersand
tokenAtSign58At sign
tokenBar59Vertical bar
tokenQuestion60Question mark
tokenPi61Pi
tokenRoot62Square root
tokenSigma63Capital sigma
tokenIntegral64Integral
tokenMicro65Micro
tokenCapPi66Capital pi
tokenInfinity67Infinity
tokenColon68Colon
tokenHash69Pound sign (U.S. weight)
tokenDollar70Dollar sign
tokenNoBreakSpace71Nonbreaking space
tokenFraction72Fraction
tokenIntlCurrency73International currency
tokenLeftSingGuillemet74Opening single guillemet
tokenRightSingGuillemet75Closing single guillemet
tokenPerThousand76Per thousands
tokenEllipsis77Ellipsis character
tokenCenterDot78Center dot


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996