The Type Parameter can be any of the "*" Data Types (*CHAR, *BINARY, etc.) as listed below, or it can be the name of a field already defined in the program.
Type cannot be a named constant or a literal. In this case, the field will be defined based on the attributes of another field.
Type can be a Name, where Name is a variable that has already been defined.
Type can be a string literal, which defines an *OBJECT variable of a particular type. The string literal must represent:
a valid program id registered on your system at compile time
a valid class id registered on your system at compile time.
a valid interface name registered on your system at compile time.
Type can be a name of the form Library.Object; where Library is the name of one of the libraries selected in the object libraries dialog, and Object is a valid object name within that library.
Type can be an array, array element, or a table name. The attributes of an element of the array or the table are used to define the field.
Type can also contain a form type, which is specified by setting the Name property on a form. For more information on using form variables, see Form Variables.
If Type is *BOOLEAN, you can use the *TRUE or *ON and *FALSE or *OFF special values to indicate True or False.
If a Type Parameter is not given, the Len parameter is
required. In this case, *CHAR is assumed if there is one integer, and
*ZONED is assumed if there are two integers. The length of an *INTEGER Type
is 2- or 4-bytes. The length of a *FLOAT
Type is 4- or 8-bytes.