compiler
compiler copied to clipboard
Classes and objects in PAWN?
Maybe add classes and objects like in C++?
class TestClass
{
new var;
stock func() printf("Var: %i", var);
};
main()
{
TestClass TestObj;
TestObj.var = 1;
TestObj.func();
}
Related if not duplicate of #234
@YashasSamaga @Y-Less This isn't just about syntax and things, this is a recommendation for a completely new feature introducing classes and objects into Pawn.
Maybe in 3.10.11?