aldweb

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

m.aldweb.com


Neither French, nor English?

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




Weather / Spam / www

Lyon Weather


aldweb against spam


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

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
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

Anonymous



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?

Thanks.

Bob
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

Anonymous

visitor
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.

Cheers,
aldweb
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 ^