Weird error

new topic     » topic index » view thread      » older message » newer message

Maybe it's just me, but I can't understand this error I'm getting:

Subscript value 0 is out of bounds, reading from a length 12 sequence

I'm getting it on this line:

if y1>0 and y1<12 and x>0 then a=barrierow[y1][x+1]

since y1 and x are both >0 I for the read to take place I don't get why
it's crashing with the 0 out of bounds.  Barrierow is an image that's
about 12x150.

Any ideas?

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp
A Crash Course in Game Design and Production
http://exo.com/~lgp/euphoria

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu