In every ESL statement in which a value is required, you must specify a value of a particular type, or use the default value. The following table lists the different types of possible values, system defaults (where applicable), and examples of each type.
Type |
Default |
Example |
Literal String Integer Float Boolean
|
|
"status OK" 5 27.96 false |
Constant String Integer Float Boolean
|
"" 0 0.0 false |
CompanyName_SV Counter_Max_IV Pi_FV Yes_BV |
Variable String Integer Float Boolean
|
"" 0 0.0 false |
Password_SV EmployeeNumber_IV Grand_Total_FV FirstTime_BV |
Variable preceded by a unary operator Integer Float Boolean
|
|
-A_IV -Profit_FV not AlreadyDone_BV |
Parenthesized Expression String Integer Float Boolean
|
|
(Message_SV = "Final step") (A_IV + B_IV + C_IV) (A_IV * 1.5) ((A_IV > B_IV) and (C_IV > D_IV )) |
Built-in Function String Integer Boolean
|
|
members of Class2 xsize of GraphArea ioerror |
Description
Every value you specify must match the type required in the particular syntax model. Throughout this guide, syntax models indicate the type of value required in each statement. If you specify a value of the wrong type, ESL converts the value if it can. (See Type Conversions.)
Built-in functions do not return floating point values.
See Also
constant Definition
Expressions, Operators, and Operands
precision Environment Declaration
variable Definition