Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !

Mobile version of
the aldweb Site

Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]

Weather / Spam / www

Lyon Weather

aldweb against spam

To receive news about this website, consider subscribing to our Newsletter.
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News


   visitors online

What do you think of the new design of the aldweb Site?
Great !
So ugly...
forum.gifForum - iziBasic - Topic #1539

Forum - Forum
iziBasic - iziBasic

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1539  Compilation Error -- Undefined Label

03/05/2007 @ 04:47
by Bob Maske


I get a compiltation error when I try to compile. It's an undefined label error and it's on the line 476, which is one line after the end of my code. I don't see anything wrong with any of my code in that location and when I comment out the "offending" code and recompile, I get the message again at the same location, one line after my code ends, but this time it refers to a different label.

I'm using SrcEdit as my editor and after I get the compile error I click on the editor button in iziBasic and it brings me back to my code to the same location each time. Does SrcEdit bring me to where the compilation error occured in my code? If it does, I wasn't able to see my problem.

What conditions will give me the Undefined Label Error other than not defining my labels correctly?


Write to Bob Maske   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
04/05/2007 @ 01:19
by aldweb


Hello Bob,

I have the feeling that this error must be because you wrote a GOTO SomeLabel or a GOSUB SomeLabel somewhere with no corresponding SomeLabel: defined. At the end of the code parsing, iziBasic detects that the SomeLabel: label was never defined and returns this error.
iziBasic does not jump back to the GOTO SomeLabel or a GOSUB SomeLabel line because it did not store the position it was in the source code, so it stays on the very last line.

Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
Forum Topic  Forum 

^ Top ^