HiLMAs reference
Back

String Handling

Next

TRANSLAT

TRANSLAT string,table-in,table-out[,length]

 

Description

Characters of string found in table-in are converted to corresponding characters in table-out. Optional length parameter overrides the predefined length of the input string. The first character in table-in is translated in the first character in table-out, the second character in table-in in the second in table-out, and so on. This for every occurrence found in string. Length of table-in and table-out should be equal; if not, shortest is assumed.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 string Input/Output String C or X String to be translated; max length 255 char.
2 table-in Input  String C or X or const. Max length 255 char.
3 table-out Input String C or X or const. Max length 255 char.
4 length Input Integer F or H or const. If omitted, length is of the first string

 

Examples

 


Back Start Next
TEMPLATE Top SQUEEZE