Feedback wanted on code style

BlitzMax Forums/BlitzMax Beginners Area/Feedback wanted on code style

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.

Thanks for the feedback jsp.

I'm not sure what you mean by too dependent. I was using GraphicsWidth() etc to make it less dependent on pre set constants and work for whatever screen/window size the app gets set to.

Would you do this another way? Or did you mean use a global variable at the start and set it via the GraphicsHeight() then use the variable in the code?

And sorry to be a pain but could you explain the different logic to me for the else, elseif, endif vs the singular if then's. I'm just hazarding a guess but is it because my 'optional' version is considered as one statement and processed once per time through the loop while the singular 'if thens' allow for the potential of two if's activating the screen move?