STARTDATA - Syntax Error?

Previous topic - Next topic

Moebius

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?
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Sokurah

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.
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah

Kitty Hello

Thanks!

@Sokurah - your avatar is not reachable from here.

Moebius

 :-[  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
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

Sokurah

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). :)
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah

MrTAToad

Yes, its quite visible now :)

Moru

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 :-)

Sokurah

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. :)
Website: Tardis remakes / Mostly remakes of Arcade and ZX Spectrum games. All freeware. :-)
Twitter: Sokurah