@REXX[[=]expr]: Calls the REXX interpreter to execute the expression. Returns the numeric code or string result from REXX. Console output from the REXX interpreter is suppressed while executing the expression. Note that TCC expands variables and functions before passing expr to REXX.


If you want to return the result of the REXX expression, prefix the expression with a = or return. Otherwise, REXX will pass the result back to TCC for evaluation.




echo %@rexx[= 3 * 4]

set myprog=d:\path\xyz.exe

echo %@rexx[address(%@name[%myprog]); return address()]


Note: This function requires that an ooREXX (Object REXX) or Regina REXX interpreter be installed and properly configured. See REXX Support for more information on the REXX language.