23.01.2012, 02:42
By seeing Public and Private functions, I guess there is a way for OOP. And if PAWN is not object oriented, why there is Private and Public?
|
No, object oriented programming isnt possible in PAWN. The best you can do is pseudo OOP through like macros. Please note that just because something highlights doesnt mean its a part of the language. There are far more "keywords" that highlight like "virtual", "explicit", "protected", etc. This is just because PAWNO uses C++ rules for highlighting.
|
|
Thanks for sharing it. I did some research on implementing object oriented programming on PAWN watching some C Programming Language book. I am pretty sure it can be implemented. Not only OOP but keywords such as virtual, explicit, struct, protected, etc.
|