Go to the first, previous, next, last section, table of contents.


Reversed Equate Data Types

There are five data types - based on database field types. These are strings, numbers, dates, booleans, and fields. A string literal is a sequence of characters delimited by double quotes. The double quote can be included in the string by using a \" sequence, and the backslash can be included in a string by using a \\ sequence. A numeric literal is a sequence of digits optionally starting with the unary minus operator. Decimal numbers are also supported (ie. include a decimal point) and will be stored as the EQ_DEC type. Note that negative number syntax is handled at the parsing stage for literals and so there is no unary minus operator. Date and boolean literals can only be created if there is a database field of that type to use. A field literal is the name of a field rather than its contents. It is created using the %% operator. The example fragment below shows the way to create each data type (as an argument that gets pushed onto the stack).

"Hello World"
12345
0.25
%START_DATE
%IS_TRUE
%%SURNAME


Go to the first, previous, next, last section, table of contents.