Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ring add an attribute to the object

see new point {x=10 y=20 z=30}
Class Point
        AddAttribute(self,["x","y","z"])
Source by ring-lang.github.io #
 
PREVIOUS NEXT
Tagged: #ring #add #attribute #object
ADD COMMENT
Topic
Name
5+6 =