RXPCHK

xcall RXPCHK, string {,rc}

RXPCHK.SBR checks a string to determine if it contains unprintable chararacters, which are defined as those whose ASCII values are less than 32 or are between 127 and 160 inclusive.

Parameters

string  (String)  [in]

string to check. string is stripped of leading and trailing spaces and tabs and returned that way, regardless of whether valid.

rc  (F,6)  [out]

optional return value specifying okay (0) or the position of the first unprintable character in string. Note that RXPCHK may be passed to the XFUNC function, in which case rc is not really relevant since the function itself returns the same value.

History

2006 August, A-Shell 5.0.953:  Routine added to A-Shell.