Strange If statement behaviour

Blitz3D Forums/Blitz3D Programming/Strange If statement behaviour

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.

Don't want to be boring, but once again I would like to thank the person would said 'Don't use global variables, use Type elements'.

I've gone back and rewritten whole reams of code since I heard this advice, and now, no more misspelling problems.

Once you declare a type variable (e.g. MyProg\runmode) then you can't misspell runmode again - Blitz will tell you if you do.