October 30, 2025, 11:22:12 AM

News:

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


Can't do labels

Started by Parker, November 23, 2005, 05:38:37 PM

Previous topic - Next topic

0 Members and 6 Guests are viewing this topic.

Parker

Apparently "goto" works, but not labels - I can't do "MyLabel:" or "label MyLabel". Instead, I do
#asm
MyLabel:
#endasm

Ionic Wind Support Team

Not to worry.  It will be added before the beta.

Paul
Ionic Wind Support Team

Zen

Are labels working yet? Ive tried to put "label labelname;" but i get a unknown type error at compile time.

Any ideas?

Lewis

Parker

MyLabel:
You can't have any tabs or spaces before the label though.

Zen

Thanks Parker. Hope that gets fixed because where i had my label, it was supposed to be indented in about 3 tabs, so its messed up my prety code now :-(

Lewis

Parker

Sometimes it makes sense to do it that way though, since normally you use labels for custom loops, it makes it easy to see the start of the loop