OO Programming in PureBASIC ????

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

find it useful to be able to tie your procedures to your structs?
You can place a pointer to a function into a struct, and then use CallFunctionFast().

I appreciate this is extra syntax over C, but I think it makes it clearer about whats happening.
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

He's about to break his own record.
Enourmous number of replies on one request.
Never participating it again :)

>Trashcan...
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I said I will implement structure to access DX and COM object easily but not class, and all OO behavior. That's a BASIC language.
Locked