RosettaCodeData/Task/Call-an-object-method/NetRexx/call-an-object-method-2.netrexx
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

4 lines
251 B
Text

objectInstance = SomeClass() -- create a new instance of the class
objectInstance.instanceMethod() -- call the instance method
SomeClass().instanceMethod() -- same as above; create a new instance of the class and call the instance method immediately