AutoMidHandle

BlitzMax Forums/BlitzMax Beginners Area/AutoMidHandle

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, 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.