TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Byron Desnoyers
from: Murray Lesser
date: 1995-06-27 07:06:00
subject: Passing Arguments To A Re

Excerpted from message dated 06-24-95, Byron Desnoyers to All:

BD>When ever I pass an argument to a REXX program the argument is
  >converted to all capital letters for some bizzare reason.  Is there
  >any way to avoid this?  I am trying to create a batch file to call
  >the proper archiver from a DOS or OS/2 command prompt and InfoZip
  >will only use a "-j" vs. the "-J" my REXX batch
file keeps passing.

Byron--

    The result you are getting when using "ARG" is exactly as defined in
the REXX language.  According to the OS/2 REXX manual "Procedures
Language 2/ REXX reference" (or any good book on programming in REXX)
"ARG" is a short form for "PARSE UPPER ARG" and will
always convert the
argument to all caps.  Use "PARSE ARG" if you wish to maintain the case
of your arguments.

          --Murray
___
 * MR/2 2.23 #120 * Watching for speed bumps on the Information Highwy
        
---
* Origin: 2" x 4" bbs - a basic board - (914) 271-9407 (1:2625/108)
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: 2625/108 1 109/7 3615/50 396/1 270/101 105/103 42 712/515 711/808 809
@PATH: 711/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™.