AutoMidHandle

BlitzMax Forums/BlitzMax Beginners Area/AutoMidHandle

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.

Directly above the automidhandle definition in the docs is this definition
AutoImageFlags( flags )

Now you wouldn't type AutoImageFlags(flags) in your code, yet that is the equivalent of what Ant did because he didn't get that "enable" was an arbitrary parameter name for an Integer, and that the text implied it could be 0 or 1. Sure perhaps it could be made clearer by explictly saying "If enable is 1 (or True) then ... and If enabled is 0 (or False) etc ...) Ant just made a simple mistake witha simple function and I was trying to help him understand why, instead of just fixing it.