How do run a class from the terminal, and pass parameters?
Please can I have a quick simple answer.
I am still learning.
Thank-you.
Discussion (2)2
Comments
Hello Duncan,
Please see the following documentation. Defining and Calling Methods.
Some examples:
do ##class(Package.Class).Method(Args)
set myval= ##class(Package.Class).Method(Args)
write ##class(Package.Class).Method(Args)
You may find some of the courses on learning.intersystems.com (linked in the top bar of the developer community as well) useful such as the Caché Objects Introduction.