Linked by Thom Holwerda on Sun 30th Sep 2012 20:15 UTC, submitted by MOS6510
Thread beginning with comment 537166
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: Comment by some1
by lucas_maximus on Tue 2nd Oct 2012 04:35
in reply to "RE[2]: Comment by some1"
I did not find any mentions of destructors, and the syntax to construct an object is different (PHP uses new keyword, OS doesn't), so I presume you just mean that constructor function is called __construct. That wouldn't be the first time lua-based object model calls it that. E.g.
https://gist.github.com/672338
http://www.jc-mp.com/forums/index.php/topic,332.msg2370.html#msg237...
On the other hand, compare this section of lua documentation to OS page:
http://www.lua.org/pil/3.6.html





Member since:
2010-10-05
On the plus side, I don't see anything from PHP in ObjectScript. Looks like a slightly messed up Lua with JS syntax.