How to transform a routine into a line to use in the terminal
I talked to a colleague and he said that at the other company he worked, they converted a routine into a line and used that in the terminal like a command. So, I want to know if we have this function native in Intersystems products, or maybe was a program they created, my colleague doesn't remember and this would be useful for me now.
Example of function:
func1 set var="Test" write var quit 0
Become a line command:
USER>set var="Test" write var quit 0