Re: Checking datatype of CHAR variable in 4GL
Posted in 1998
In article <6ccib8$ie$1@news.xmission.com>, Colin M McGrath <cmm@trac3000.ueci.com> wrote: > >Alan Denney writes: > >> If the log contents matter that much to you, you can stop and start >> error logging when you change WHENEVER from STOP to CONTINUE and vice-versa. > >What's the format of the 4GL statement to stop error logging when you >change WHENEVER from STOP to CONTINUE ? I tested for an undocumented >"STOPLOG()", but that wasn't found. > I ended up adding multiple startlog() lines to the program, using the >true logfile as the parameter when I have a "whenever any error call ... " >directive active, and "/dev/null" as the logfile parameter when a >"whenever any error continue" directive is active. Is that what is meant >by stopping error logging? Oops. There I go again, assuming implemented stuff. No, there is no official, documented shut_off_logging_dammit() function. However, in theory, one could call a programmer-defined C function that in turn called fgl_clog() (with no parameters) out of fgllib. But that would be using undocumented internals. That would be dangerous. That would be, well, just WRONG. WRONG, I tell you! Bad programmer! B-A-D programmer! -- Alan Denney yosemite_at_netcom.com "I'll employ my resources to make your puny lives miserable! I'll crush your pitiful dreams and ambitions like bugs in the dust!" -- Calvin