我的理解是,通常人们不应该这样做,但我的特定用例涉及测试自定义用户命令,因此能够调用类似 ⎕SE.Foo 'mycmd my Arguments'
会非常有用。
最佳答案
是,根据the documentation :
This implementation means that application code can invoke user commands by calling
⎕SE.UCMD
directly.
在你的情况下,它将是⎕SE.UCMD 'mycmd my argument'
关于dyalog - 可以从代码中调用 Dyalog 用户命令吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74719681/