HiLMAs reference
Back

String Handling

Next

LENGTH

LENGTH p,string[,PADCHAR=]

 

Description

This statement put the length of string in p (delimited by blanks or delimited by specified PADCHAR= ).
That is, length is the position of the last character before trailing spaces.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 p Output Integer F or H  
2 string Input String C or X String to measure; max length 255 char.
  PADCHAR='c' Input

Character
constant

  Must be a single character in quotes

 

Examples

 


Back Start Next
POS Top SEARCH