#1225 .local~syscargs Doesn't Exist If Run Via rexx -e

None
wont-fix
nobody
None
none
1
2013-12-17
2013-12-17
Erich
No

While within a normal ooRexx script the new .local~syscargs array is available ..

say .local~syscargs -> an Array

.. it seems to be missing when run via rexx -e (no matter if trailing arguments are specified or not)

rexx -e "say .local~syscargs" args args -> The NIL object

Discussion

  • Rick McGuire

    Rick McGuire - 2013-12-17
    • Group: v4.2.0 --> None
     
  • Rick McGuire

    Rick McGuire - 2013-12-17
    • status: open --> wont-fix
     
  • Rick McGuire

    Rick McGuire - 2013-12-17

    syscvars is something that is only available in contexts where the interpreter is invoked from a program file using the program launchers. Since there is no way to pass arguments to the code invoked via rexx -e, it does not make sense for the syscvars to be set either.

     
  • Erich

    Erich - 2013-12-17

    there is no way to pass arguments to the code invoked via rexx -e

    Arguments to rexx -e can be specified after the (quoted) Rexx program, e. g.

    rexx -e "say arg(1)" first second -> first second
    
     
  • Rick McGuire

    Rick McGuire - 2013-12-17

    Still not going to spend time fixing this.

     


Anonymous

Cancel  Add attachments