⎕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,
Elias

On 20 August 2015 at 10:41, Mike Duvos <m...@wolf359.net> wrote:

>        A∘.=A←100-⎕CT×⍳10
>
> 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
>
> [10 items, all tolerantly equal]
>
>       ∇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?]
>
>
>

Reply via email to