HyperTalk Constant Summary

This page summarizes HyperTalk's built-in constants. A constant is a named value that never changes. You cannot change its value or use its name as a variable name. If you try, the interpreter will trigger a script error.

Constants by Name

The table below lists all the built-in constants by name. See also by data type and by value.

Constant Name Data Type Value
colon string :
comma string ,
down string down
eight integer 8
empty variant
eof string
false boolean false
five integer 5
formfeed string
four integer 4
linefeed string
nine integer 9
one integer 1
pi number 3.1415926535
quote string "
return string
seven integer 7
six integer 6
space string
tab string
ten integer 10
three integer 3
true boolean true
two integer 2
up string up
zero integer 0

Constants by Type

The table below lists all the built-in constants by data type. See also by name and by value.

Constant Name Data Type Value
false boolean false
true boolean true
eight integer 8
five integer 5
four integer 4
nine integer 9
one integer 1
seven integer 7
six integer 6
ten integer 10
three integer 3
two integer 2
zero integer 0
pi number 3.1415926535
colon string :
comma string ,
down string down
eof string
formfeed string
linefeed string
quote string "
return string
space string
tab string
up string up
empty variant

Constants by Value

The table below lists all the built-in constants by value. See also by name and by data type.

Constant Name Data Type Value
eof string
formfeed string
linefeed string
return string
tab string
empty variant
space string
quote string "
comma string ,
zero integer 0
one integer 1
two integer 2
three integer 3
pi number 3.1415926535
four integer 4
five integer 5
six integer 6
seven integer 7
eight integer 8
nine integer 9
ten integer 10
colon string :
down string down
false boolean false
true boolean true
up string up