GLBasic forum

Main forum => Bug Reports => Topic started by: Moebius on 2011-Jul-04

Title: STARTDATA - Syntax Error?
Post by: Moebius on 2011-Jul-04
Using GLB V 10.013, this:
Code (glbasic) Select
STARTDATA MyData:
ENDDATA

causes the compiler to report a "syntax error" at the STARTDATA line for me...
Does the same thing happen for anyone else?
Title: Re: STARTDATA - Syntax Error?
Post by: Sokurah on 2011-Jul-04
Yes, that happens for me too - if I don't put any data betwen the statements...like I'm supposed to.
If you do that (insert some data) then it works.
Title: Re: STARTDATA - Syntax Error?
Post by: Kitty Hello on 2011-Jul-04
Thanks!

@Sokurah - your avatar is not reachable from here.
Title: Re: STARTDATA - Syntax Error?
Post by: Moebius on 2011-Jul-04
 :-[  nvm....
Oversimplified the code that was failing, and it turns out I was missing a comma in one of the 'DATA' lines....

The syntax error popped up for the wrong line though - the STARTDATA line rather than the DATA line with the problem.  Not really an issue anyway.
Code (glbasic) Select
STARTDATA  MyData: //Syntax error points to this line
DATA "No comma" 1
DATA "...", 1
ENDDATA
Title: Re: STARTDATA - Syntax Error?
Post by: Sokurah on 2011-Jul-04
Quote from: Kitty Hello on 2011-Jul-04
@Sokurah - your avatar is not reachable from here.

I'm sure it'll appear at some point. We've had so much rain up here that - among other (and more) serious things - several hostingcenters are down, which means that my webpage and email are down.

But the avatar should be back once it's up and running (I can see it though...must be cached on my computer). :)
Title: Re: STARTDATA - Syntax Error?
Post by: MrTAToad on 2011-Jul-04
Yes, its quite visible now :)
Title: Re: STARTDATA - Syntax Error?
Post by: Moru on 2011-Jul-04
If it's an empty square, it's visible now. But I doubt since every page you are on takes ages to load for me :-)
Title: Re: STARTDATA - Syntax Error?
Post by: Sokurah on 2011-Jul-05
Quote from: Moru on 2011-Jul-04
If it's an empty square, it's visible now. But I doubt since every page you are on takes ages to load for me :-)

My site is still not up and running. The webhost has promised it'll be up sometime tomorrow...but let's see about that.  :doubt:

Meanwhile, I've uploaded my avatar to the GLB forum instead of having it point to my own site. That should fix the problem. :)