APPX Software Library

Chapter 4-8: Runtime Subroutine's and Predefined Processes

.TEXT GET LENGTH

This subroutine determines the length of a text/alpha field.

Usage:

Screen capture

Description:

This subroutine determines the length of a text/alpha field. The both parameters are required. If any required parameters are missing, the subroutine will CANCEL.

<text_len> returns the length of <text_field> (Required). This must be PASSed with Share "Y" to return the value.

<text_field> is the field whose length you want to determine (Required).

Note that if you pass a non text field in <text_field>, it will be converted to an alpha field according to the rules of the SET command, and the length of that field returned.