step with a file read variable

Blitz3D Forums/Blitz3D Programming/step with a file read variable

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.

Is it really important to have "Steps" as a constant?
You can use a global and that will work too.

A constant is assigned a specific value before compiling, and when the compiler sees that constant anywhere in your code, it is replaced with the value assigned to it.
A constant cannot be changed during execution of your program, so you can't store a value in it that you've read from a file.