function myObject:new ( x, y )
local object = {}
setmetatable ( object, myObject )
self.__index = self
开发者_运维知识库self.mX = x
self.mY = y
return object
end
Does anybody recognise the above language? I am using a custom scripting language developed by a vendor of ours, but I believe the language is based on a more widely known language base, with some of their add-ons on top. Not being very aware of scripting languages, I don't recognise the above, but would very much like to get a language reference document if one exists.
Seems to be Lua
精彩评论