rexxdossupport.library/ReadArgs() doesn't work anymore !?
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 416 from 2003/2/24
    From: Berlin
    Hi,

    anyone noticed that ReadArgs() from rexxdossupport.library doesn't work anymore?

    This test script should output "Name = Thomas", but it show "Name = NAME", which means the var 'Name' isn't initialized.

    Here is the script:
    Code:

    /* Small ReadArgs() Test of RexxDosSupport.library */

    OPTIONS RESULTS
    CALL ADDLIB("rexxdossupport.library",0,-30, 3)

    template = "Name/A"
    input = "Thomas"

    say "Small ReadArgs() test from rexxdossupport.library"
    say "template: '"template"'"
    say "input : '"input"'"
    say

    say "rc = ReadArgs(input,template)"
    rc = ReadArgs(input,template)
    say "rc = "rc

    if rc then
    say "Name = "name


    Tested under v2.4 on Mac mini, rexxdossupport.library is v3.5.

    [ Edited by igracki on 2009/12/28 18:25 ]
  • »28.12.09 - 16:23
    Profile Visit Website