User Tools

Site Tools


isstring_return_field_string_type_or_not_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== ISSTRING (return field string type or not) ====== Previous pageReturn to chapter overviewNext page

ISSTRING( field )

blk2blue.jpg

ISSTRING Returns true if the field is a GROUP, STRING, CSTRING, or PSTRING data type.
field The label of a field.

The ISSTRING statement returns true if the field is a GROUP, STRING, CSTRING, or PSTRING data type.

Return Data Type: SIGNED

Example:

MyGroup  GROUP

F1        LONG        !Field number 1

F2        SHORT       !Field number 2

F3        STRING(30)  !Field number 3

InGroup   GROUP       !Field number 3

F1         LONG       !Field number 4

F2         SHORT      !Field number 5

F3         STRING(30) !Field number 6

         END

        END

Flag  LONG

CODE

Flag = ISSTRING(MyGroup.F1)  !returns FALSE

Flag = ISSTRING(MyGroup.F3)  !returns TRUE

See Also:

WHAT

WHERE

isstring_return_field_string_type_or_not_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)