enum
| Syntax |
enum (value)
|
| Params |
value is usually a string4 or four-character string value. It can, however, be any value that can be represented in four bytes and whose datatype you wish to coerce to enumeratorType.
|
| Action |
Converts value to have a datatype of enumeratorType.
|
| Returns |
The four-character enumerator resulting from the conversion.
|
| Examples |
enum ("ask") » 'ask '
enum ('no ')
|
| Notes |
The enumeratorType is almost identical to the string4Type; they appear the same when displayed. However, some applications require that an enumeratorType be supplied when a setting has a discrete set of possible 4-character values, such as 'yes ', 'no ' and 'ask '.
|
| See Also |
string4
|