Classes like c++

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Megaborsti
User
User
Posts: 35
Joined: Sat Aug 16, 2003 4:52 pm
Location: Germany

Classes like c++

Post by Megaborsti »

I searched the onlinehelp, but I had´nt found anything that looks like a class (like classes in c++ for example). :cry:
I think it was helpful to add some object-oriented stuff to purebasic because it would make some things easier.
If there already are such things, it was probably good to add to the onlinehelp, otherwise they should be implemented.
I become better!!! :)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Purebasic is NOT object oriented and should remain this way, I think.
See viewtopic.php?t=6063&highlight=object+oriented
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

I think it was helpful to add some object-oriented stuff to purebasic
No..no..no... please do not go there.. [again] :?
--Kale

Image
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

If you look here (in german):

http://www.robsite.de/php/pureboard/vie ... php?t=2008

you can see one approach to do classes in PureBasic.

But you have to do all by yourself...

I am to provide the public with beneficial shocks.
Alfred Hitshock
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

thank goodness for that, I absolutely detest 'OO' in any of its language dilects.
Post Reply