开发者

Does anybody recognise this language?

开发者 https://www.devze.com 2023-03-13 11:26 出处:网络
function myObject:new ( x, y ) local object = {} setmetatable ( object, myObject ) self.__index = self
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

0

精彩评论

暂无评论...
验证码 换一张
取 消