dyalog - 可以从代码中调用 Dyalog 用户命令吗?

标签 dyalog

我的理解是,通常人们不应该这样做,但我的特定用例涉及测试自定义用户命令,因此能够调用类似 ⎕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/

相关文章:

connected-components - 如何在 APL 中标记连接的组件?

arrays - 在 APL 中使用带有 without 函数的 each 运算符

keyboard - 选择哪个键用于输入特殊 APL 字符

arrays - 为什么文本行数组看起来有一个额外的容器级别?

keyboard - Dyalog APL 劫持 Windows Key 并且不归还它(Fedora 32/Gnome,Free Licence,Kitty)

vector - Dyalog 中字符串操作的性能

apl - 如何屏蔽 APL 中的扫描运算符?

scripting - 在 APL 中声明多行函数的问题