User Guide
647
This statement displays the symbol #goodbye:
x = "goodbye"
put x.symbol
-- #goodbye
See also
value(), string()
symbolP()
Syntax
Expression.symbolP
symbolP(expression)
Description
Function; determines whether the expression specified by expression is a symbol (TRUE) or not
(
FALSE).
The P in
symbolP stands for predicate.
Example
This statement checks whether the variable myVariable is a symbol:
put myVariable.symbolP
See also
ilk()
systemDate
Syntax
the systemDate
Description
System property; returns the current date in a standard date format and can be used in
conjunction with other date operations for international and cross-platform date manipulation.
Math operations on the date are performed in days.
This property can be tested but not set.
Example
This script displays the current date being retrieved and then determines the date 90 days from
the current date:
on ShowEndOfTrialPeriodDate
set today = the systemDate
set trialEndDate = today + 90
put "The trial period for this software is over on"&&trialEndDate
end
See also
date() (system clock)