Sorry everyone this will be the last one for a while.
Really trying to get this project started moving from vb6
I am NO proponent of FAD OOP design, BUT over the years I have gotten fond of using classes as an organizational tool, and using object composition.
I have done some online research on how people are creating classes in pureBasic, I would like to know what is your preferred method of creating classes in pureBasic?
All my classes do is keep variables, perform functions on those variables and trigger events. No inheritance, overloading, or other special stuff.
Any advice would be greatly appreciated.
Thank you!
Classes in pureBasic
Re: Classes in pureBasic
Using OOP in Purebasic is actually quite easy.
I have this link for that: http://www.purebasic.fr/english/viewtop ... 13&t=64731
For more complex tasks, my OOP-BaseClass module can also be used.
I have this link for that: http://www.purebasic.fr/english/viewtop ... 13&t=64731
For more complex tasks, my OOP-BaseClass module can also be used.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive