Counter for variables

BlitzPlus Forums/BlitzPlus Programming/Counter for variables

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.

One handy thing to remember is that a handle (a window, button, label, bank, timer, textarea, image etc. etc.) is stored as an INT value.

It means that you could store handles in a bank or array. It also means that you can 'view' this handle as an INT value, just try 'debuglog window' if you have a GUI window called 'window', you'll get some high number, which represents the memory address of the window. An INT value is 4 bytes in size.