Abandoned

BlitzPlus Forums/BlitzPlus Programming/Abandoned

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.

I don't see the point in making types so complicated with lists and methods.


You don't need to use lists for most stuff, methods are handy tho. Anyway, you're missing the point a bit:

Consider this pseudo B+ app:
--------------
global vars

functions

main eventloop with a waitevent() followed by function calls
--------------

Same stuff in BMaxGUI:

--------------
type bla

field vars

methods

end type

myvar = new bla

main eventloop with a waitevent(), optionally followed by function calls
--------------

Hardly any difference, no? The advantage is that your namespace only consits out of 'myvar', and not the whole rest from the B+ version.