Looking up Parse In the Language Reference, I noticed 2 Doc Problems:
The sybtax diagram does not allow for Parse Caseless Upper ... which is
accepted by the Interpreter
>>-PARSE--+---------+-------+--------------------+------------------------------->
+-UPPER-+ +-CASELESS-+
+-LOWER-+
>--+-ARG-------------------------+--+---------------+--;------->< etc.
In the text
If you specify UPPER, the strings to be parsed are translated to uppercase
before parsing.
If you specify LOWER, the strings are translated to lowercase.
Otherwise no translation takes place
strings are should ne replaced by string
(only one string is parsed)
And a minor problem with the error message for
Parse lower upper Var (which is, of course, wrong)
17 *-* Parse lower upper Var s l1 '+' l2 ;
Error 25 running H:\part.rex line 17: Invalid subkeyword found
Error 25.12: PARSE must be followed by one of the keywords ARG, LINEIN,
PULL, SOURCE, VALUE, VAR, or VERSION; found "UPPER"
Regards
Walter (Tester of the Rexx Compiler)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel