Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Array of addresses
#1
I'm trying to make an array of sprite pointers.

The compiler doesn't seem to like

Code:
DIM Sprites(5) AS uInteger => {@sprite1,@sprite2,@sprite3,@sprite4,@sprite5,@sprite6}

And I'm not quite sure why. It reports the error: Initializer expression is not constant. - and I beg to differ. I thought @label WAS a constant?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)