An invalid parameter is used for a LPAD$ function.
An invalid parameter is used for a LTRM$ function.
An invalid parameter is used for a RPAD$ function.
An invalid parameter is used for a RTRM$ function.
An invalid parameter is used for a TRIM$ function.
Remedy:
HEX$: The hexadecimal character must contain an even number of characters. All characters for HEX$ must be either digits 0 to 9 or uppercase letter A through F.
PIC$: Argument must be one character long.
LPAD$: The "char" parameter may be no longer than one character.
LTRM$: The second parameter may be no longer than one character.
RPAD$: See LPAD$ (above)
RTRM$: See LTRM$ (above)
TRIM$: The second parameter may be no longer than one character.