HiLMAs reference
Back

Miscellaneous Instructions

Next

VAR2REXX

VAR2REXX (string,length),(rexxvar,name-length)

 

Description

VAR2REXX statement copies contents of a Hilmas string variable in a REXX variable.

string is the variable containing the value to port in REXX and length overrides the predefined length of string variable
rexxvar is a string variable containing the name of the REXX variable and name-length is its length

Obviously, the program using this instruction must be called by a REXX program.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 string Input String C or X String to copy in REXX
3 length Input Integer F or H Start inside 1st parameter
2 rexxvar Input String C or X String containing REXX variable name; max length 32 bytes
3 name-length Input Integer F or H Length of the REXX variable name

 

Examples

 


Back Start Next
MEMFREE Top REXX2VAR