Phil,
Here is one way to kill a routine while it is running:
In your command file, look for the existance of a file
and if it's there, kill the routine.
SET VAR x INT = NULL
--Some sort of looping routine goes here
SET VAR x = (CHKFILE('C:\Stop.TXT')) --Returns 1 if found, 0 if not
IF x = 1 THEN
RETURN --or break out of the loop or whatever...
ENDIF
If you want to kill the routine, just type the following at
the DOS prompt:
C:\> DIR > Stop.TXT
This will put a file out there called Stop.TXT
and your program will pick up on it and
exit. There is a better way to do this and
I'll see if I can find it. But for now this is the
best I can come up with.
Scott
====
"Phil Nolette (NCS Group, Inc.)" wrote:
> This must be my night for questions. By the way, the previous information
> on the SLOC worked great.
> Just an irritant question => I am running windows 2000 pro and when I run my
> command files (rmd) and I see something going by on the screen that I want
> to fix, I can not break out of it. I have tried setting the ESCAPE = ON and
> it does not work. Here's what it says on the RBase Syntax HTML: "SET ESCAPE
> allows you to use [Ctrl]+[Break] to escape or abort command file processing
> or database file access" . Something is wrong because I hit the CTRL BREAK
> and also the FN BREAK and the only way to get out is using the CTRL-ALT-DEL
> and killing the process and RBase. Certainly there must be a better way.
>
> Phil
> [EMAIL PROTECTED]
>
> ------------------------------------------------------------------------
> Name: winmail.dat
> winmail.dat Type: application/ms-tnef
> Encoding: base64
--
Scott
====
Scott J. Salisbury
Matrix Data Systems / The R:Street Journal
5114 Point Fosdick Drive NW, Suite E-272
Gig Harbor, WA 98335-1733
E-Mail Address: [EMAIL PROTECTED]
Temporary URL: www.seanet.com/~sjs (downloads available)
New Web Address: www.rStreetJournal.Com
Direct Line: 206-423-7679
Toll Free: 888-386-5040
Seattle: 206-448-7975
Fax: 305-425-0491