Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Powerbasic > Re: Error 5.
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 275 of 282
Post > Topic >>

Re: Error 5.

by "Michael Mattias" <mmattias@[EMAIL PROTECTED] > Jul 5, 2008 at 01:26 PM

> 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]

 




 5 Posts in Topic:
Error 5.
"Olav" <o@[E  2008-07-05 19:39:49 
Re: Error 5.
"Michael Mattias&quo  2008-07-05 13:26:00 
Re: Error 5.
"Olav" <o@[E  2008-07-05 21:55:00 
Re: Error 5.
"Michael Mattias&quo  2008-07-06 09:53:40 
Re: Error 5.
John H. Guillory <john  2008-07-06 11:41:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 16:34:22 CDT 2008.