RStyle is the fastest, easiest method for finding those little structural
boo-boos that are so hard to find and/or trace.

I try to be religious about rstyling any code file after EVERY change.
Seems whenever I forget to do this my code lets me down.  A missing
endquote, mismatched quotes, mistyped endif, the list is incedibly long.
RSTYLE will check your edits in a flash.  In R:Base's interpreted language,
it does a lot for you that a compiler would do in a compiled language.
Structural errors are caught BEFORE you run your code.

And, you can use wildcards to rstyle ALL your code in one pass!  I do this
to my apps about once a year. Amazing what little traps get left in your
code to cause intermittent problems that you can't nail down.

-- Dennis McGrath
mailto:[EMAIL PROTECTED]

-- Tools for R:BASE programmers
http://www.enteract.com/~mcgrath/dennis

-- Full time consultant with SQL Resources
mailto:[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 4:56 AM
To: [EMAIL PROTECTED]
Subject: Re: Intermittent Error Message OR "Transient Anomalous Event" -
RBWIN6.5++


In a message dated 4/10/2002 2:09:49 PM Eastern Daylight Time,
[EMAIL PROTECTED] writes:

<< "-ERROR- No WHILE, SWITCH or IF blocks are open on current input source.
 (466)"

 Can anybody point me in the right direction as to what I should be looking
 for?  I don't think it's as simple as leaving off a close-paren or a
 dangling "END%", but I could be wrong.  If it's not, then what might it be?
>>
Steve,
This has bit me a NUMBER of times when I miss am ending ' in a text variable
or display, and I break out of the code. I've changed to using all titles
and
captions as dotted variables to keep this one form biting me. A good trace
over and over will normally break it when you test it long enough, but
something like
set var vCap text = ' whatever the text may be
without the last ' will give you that error and it's hard to catch if it's
part of a seldom used while or if loop.

I hope it helps

Damon


Damon D. Kaufman
President
Stalder Spring Works, Inc
ISO-9002 / QS-9000 Certified
2345 S. Yellow Springs St.
Springfield, Ohio 45506
Voice 937,322,6120
Fax 937,322,2126
email: [EMAIL PROTECTED]
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/



================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to