> I have this PBCC 4.04 program, which trigger error "Illegal function
> call",
> if the 3 conditions below is met.
>
> 1:Run from the commandline prompt.
> 2:A parameter contains a none english letter
> 3:And the CONSOLE SET VIRTUAL 26,81 statement is executed.
If you know it's Error 5, you should know at which line that error occurs.
This is not a like a Windows' protection fault error, which can occur
hundreds or thousands of lines after the "real" error; trappable runtime
errors are detected in real time.
Bear in mind that if you try to keep running after such an error, it's
pretty much "pot luck" where something else is going to fail.. and at that
time the error number you get will not be valid.
Off the top of my head, though, I'd take a look for an untrapped file open
error; an OPEN which may be failing because you are not in the same
starting
directory when running from the command-line as you are when starting from
the IDE.
That, or failure to run the program from the command line using START.
--
Michael C. Mattias
Tal Systems Inc.
Racine WI
mmattias@[EMAIL PROTECTED]


|