[Toc][Index]

Starting new VIO/Fullscreen sessions



The parameter handling of the Object REXX interpreter is different than 
the parameter handling of the Classic REXX interpreter if started via the 
<START command: 
In Object REXX programs started via <START without a parameter the 
function arg( 1, 'e' ) always return true (there's always a parameter with 
the value " " [0x20]). 
Try the code below using 

 
  start test.cmd

in Classic REXX and in Object REXX and compare the results to see the 
difference. 


 
/* test.cmd */
  parse arg arguments
  say
  say
  say 'The result of  "arg( 1, ''e'' )" is  "' || arg( 1, 'e' ) || '".'
  say
  say 'Arguments are "'  || arguments || '" (in hex: "' || c2x( arguments ) || '".)'
  say
  parse version versionString
  say "REXX interpreter is " versionString
  say

  "pause"

  

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs