Code: Select all
:Class a
:field public shared b
∇ test
:Access public shared
⎕←⎕NC'b'
b
∇
:EndClass
guess, before trying it for real, what the execution of
Code: Select all
a.test
Code: Select all
0
VALUE ERROR
test[3] b
∧
?
Close, but no cigar.
Here's the real thing (notice the "2"):
Code: Select all
a.test
2
VALUE ERROR
test[3] b
∧
Why?