Jump to content

Call an object method: Difference between revisions

No edit summary
Line 466:
end
type CallAnObjectMethod
var instancemyInstance = MyClass() ^|creating an instance|^
instancemyInstance.method()
MyClass.method()
</syntaxhighlight>
226

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.