Events

BlitzMax Forums/BlitzMax GUI Programming/Events

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.

OK thats a valid point.

BM is programmed on strict standard, which means no declaration => Integer.
While I myself program only strict as well, I clearly declare stuff (no, $ # ! are NO DECLARATIONS!! They only mean you are even too lazy to write :int or :string) to prevent such problems at a later date. I do this especially on functions / methods to already state there that there is a return or not.

I should mention: I'm using HotDocs instead of BRL own documentation so I have the full type declaration in front of me when I run into such questions and it makes quite a difference as stuff is defined there :) (beside int = no type declaration)