TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Murray Lesser
from: Alfred Dayton
date: 1994-11-07 01:24:22
subject: Rexx

-=> Quoting Murray Lesser to Alfred Dayton <=-

 AD> -=> Quoting Murray Lesser to Jonathan Markevich <=-
 > ML> My only complaint with REXX is that it doesn't have a real GOTO.
 AD>    Pardon my novice intrusion. I have "converted" (read, copyied)
 >    some former Dos batch files containing GOTO's into OS/2 *.CMD
 >    form and these seem to still function correctly. Did I just
 >    (dumb)luck out or is there an seudo GOTO in REXX?
 ML> Alfred--

 ML> Well, you might call it dumb luck, but maybe you are smarter than
 ML> you think.  OS/2 has two kinds of CMD files.  If you just changed the
 ML> extension on a DOS BAT file to CMD, and if it doesn't contain any DOS
 ML> batch commands that don't operate under OS/2 (I'm not sure there are
 ML> any), it will run as written as an OS/2 batch file.  Therefore, if the
 ML> use of GOTO was correct in the DOS batch file, it would work the same
 ML> under OS/2.  You would not be running a REXX program.

    Ah, that is just what I did and now you mention it, I recall reading
    somewhere about the REXX header required to identify it as a
    true REXX rather than a *.bat (or in my case, converted *.BAT
    to *.CMD) file :-). Never underestimate the power of blind faith
    (or dumb luck ;-) )....

 ML> With a little practice, you will find that REXX programs can do
 ML> more, faster, than can "batch" programs.

 ML> Good luck.
 ML> --Murray
 ML>  ! Origin: 2" x 4" bbs - a basic board - (914) 271-9407
(1:2625/108)

    I think I will get those t;wo REXX books you referenced. Sounds like
    well worth it and NO I am not particularily fond of those "on-line"
    booklets. I manage to wade through then but always with a huge
    grimace pasted to my face....

                                Regards,

                                    Alfred Dayton

... Catch the Blue Wave!
--- Blue Wave/Max v2.12 OS/2 [NR]

* Origin: XENO BBS (1:2619/223)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 2619/223 51 211 3615/50 229/2 12/2442 711/409 54/54 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™.