mvslovers / brexx370

MVS version of Vasilis Vlachoudis awesome rexx implementation
46 stars 11 forks source link

breaking argument string into multiple arguments is not working correctly #35

Closed mgrossmann closed 5 years ago

mgrossmann commented 5 years ago

However, when tested with Brexx/370 there is a problem with the outcome. I coded the small test program called FOO1 where FOO1 is

   /* Rexx */
   do i=1 to arg(); say i":" arg(i);end;
   exit

After running the script like: [TSO] r[ex]x –a foo1 one “two three” four the results display as: 1: one 2: two three”four

mgrossmann commented 5 years ago

This is not an error in BREXX/370. TSO interprets the different quotes in different ways. If you use single quotes instead of double quotes, everything works. Unfortunately, we have no control over this.