TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Peter Hansen
from: Byron Desnoyers
date: 1995-06-28 09:55:40
subject: Re: Passing Arguments to a RE

-=> Quoting Peter Hansen to Byron Desnoyers on Passing Arguments to a RE <=-

 PH> In a message on 06-25-95, Byron Desnoyers said to All:

 BD>When ever I pass an argument to a REXX program the argument is
 BD>converted to all capital letters for some bizzare reason.

 PH> Use 'parse arg' instead of 'arg'.  The online documentation ("help
 PH> rexx arg") would have pointed out to you that 'arg' is equivalent to
 PH> 'parse upper arg' ...

Thank-You.

It seems to work fine now.  I guess you miss a lot when you use the online
documentation for refrence.  As it was, I had to examine other REXX
programs to find out how to grab the command line arguments.  Personally I
prefer C++, but why use it when a three line REXX file will do.

--- Blue Wave/Max v2.12 OS/2 [NR]
* Origin: EXCESS BBS *28.8* HAYES:(403)285-7338 USR:(403)285-4830 (1:134/17)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 134/17 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.