IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Parker on November 23, 2005, 05:38:37 PM

Title: Can't do labels
Post by: Parker on November 23, 2005, 05:38:37 PM
Apparently "goto" works, but not labels - I can't do "MyLabel:" or "label MyLabel". Instead, I do
#asm
MyLabel:
#endasm
Title: Re: Can't do labels
Post by: Ionic Wind Support Team on November 25, 2005, 09:07:42 PM
Not to worry.  It will be added before the beta.

Paul
Title: Re: Can't do labels
Post by: Zen on January 05, 2006, 08:13:57 AM
Are labels working yet? Ive tried to put "label labelname;" but i get a unknown type error at compile time.

Any ideas?

Lewis
Title: Re: Can't do labels
Post by: Parker on January 05, 2006, 08:25:34 AM
MyLabel:
You can't have any tabs or spaces before the label though.
Title: Re: Can't do labels
Post by: Zen on January 05, 2006, 08:53:24 AM
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
Title: Re: Can't do labels
Post by: Parker on January 05, 2006, 02:48:25 PM
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