|
From: | Mike Duvos |
Subject: | Re: [Bug-apl] Localizing ⎕CT |
Date: | Thu, 20 Aug 2015 07:20:40 -0700 |
⎕CT is never looked up as a normal variable. Internally it's using the value of Workspace::get_CT() (check the source file Workspace.hh).Setting the value of the "variable" ⎕CT will simply change this value.Regards,EliasOn 20 August 2015 at 10:41, Mike Duvos <address@hidden> wrote:A∘.=A←100-⎕CT×⍳10[10 items, all tolerantly equal]
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
∇BLAH;⎕CT
[1] A∘.=A
[2] ∇
BLAH
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
[ ⎕CT has been localized,and not assigned a value.This should produce ⎕CT ERROR. What on earth is it using for
⎕CT inside the function?]
[Prev in Thread] | Current Thread | [Next in Thread] |