1

考虑 Dyalog APL 中的以下命名空间脚本:

:Namespace Test

    x ← 0

    ∇ F
        ##.Test.x ← 1
    ∇

    ∇ G; x
        x ← 0
        F
    ∇          

:EndNamespace

如果我运行Test.G然后Test.x,我得到的输出为零。怎么来的?如何在Test.F中设置Test.x

4

1 回答 1

1
于 2020-03-03T14:31:41.657 回答