Constant Variables Help?

BlitzPlus Forums/BlitzPlus Beginners Area/Constant Variables Help?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,
I want to make some of my Global variables into Constant variables because it is faster in the program. However I get and error of "Values must be constant" when I try to put the following definition in:

Const starttime = MilliSecs()

There isn't another variable with the same name and it is written write after the Graphics command. I don't know why it is coming up, anyone have any ideas?

Thanks

Seb