May 09, 2024, 01:17:38 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Error message list

Started by TexasPete, December 26, 2008, 05:14:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

Paul or anybody. I went to the user's guide and did a search for error messages. I did not find what I was looking for.
I am debuging a small program and I get an unreferenced error code in the window pane. Where is a page for brief explanation of the error codes and what I should be looking for. I do have the variable defined.

Texas Pete

billhsln

If your error is "Unreferenced Variable", that just means that the variable is defined, but NOT used in your program.

I personally really like that message, tells me I have a variable that I can remove or I missed something.

Bill
When all else fails, get a bigger hammer.

Ionic Wind Support Team

In that case it would be a warning, and not an error.
Ionic Wind Support Team

TexasPete

Bill I like that to. Is there a tutorial  or written explanation of each any where in the manual.
Maybe I was trying to look up the wrong word under find or something.
Thanks
Texas Pete

Ionic Wind Support Team

Pete,
There is no list as there are only a couple of warning messages .  "unreferenced variable" is very self explanatory.  "uninitialized variable" means you used a variable without initializing it first, variables defined in a subroutine are located on the stack so guaranteed to contain random values until you assign them

sub mysub
int i
int k
k=i +1
endsub

Will generate that warning because "i" was never set to anything.

Paul
Ionic Wind Support Team