Hello everyone, 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. Edit:  Example of function:
func1  
  <span class="hljs-keyword">set</span> var=<span class="hljs-string">"Test"</span>
  <span class="hljs-keyword">write</span> var
  <span class="hljs-keyword">quit</span> <span class="hljs-number">0</span>
Become a line command:
 USER><span class="hljs-keyword">set</span> var=<span class="hljs-string">"Test"</span> <span class="hljs-keyword">write</span> var <span class="hljs-keyword">quit</span> <span class="hljs-number">0</span>
Best Regards, Flávio.