Re: Need sample program
- From: Gil Barmwater <gil_b@xxxxxxxxxxxxx>
- Date: Sun, 20 Jul 2008 09:31:22 -0400
globaloney wrote:
Hello.Lots of good suggestions already so I will only add the following. OoRexx provides two additional ways to run a script besides REXX.EXE - REXXHIDE.EXE and REXXPAWS.EXE. You would use the first in cases where all of the user interaction is via dialogs so there would be no need for a "command window". It also would be useful for something meant to run in the "background". The second was added by Mark Hessling to mimic the default Regina behavior of leaving the command window open after the script terminates. The default "association" for the .rex extension is to invoke REXX.EXE but you COULD change it to run REXXPAWS for example if you wanted the command window to always remain open. In my opinion, however, the best way to debug a new script is to invoke it from an already open command window and make liberal use of TRACE to step through the parts of the program that aren't working as expected.
I have had 20 +years working with Rexx on a mainframe but I am new to
working on a pc.
I have oorexx installed on my pc running Windows Vista OS. I need a
sample program to get me started.
Could someone provide a sample list of commands to open a file on my
pc, read each line
and write each line to an output file?
Also how do you debug a rexx.exe?, When I run on that is in error the
MS window closes
before I see what the error was. Thanks in advance.
.
- Follow-Ups:
- Re: Need sample program
- From: regli
- Re: Need sample program
- References:
- Need sample program
- From: globaloney
- Need sample program
- Prev by Date: Re: Need sample program
- Next by Date: Re: Need sample program
- Previous by thread: Re: Need sample program
- Next by thread: Re: Need sample program
- Index(es):
Relevant Pages
|