Address of a variable: Difference between revisions
m
→{{header|M2000 Interpreter}}
No edit summary |
|||
Line 1,241:
=={{header|M2000 Interpreter}}==
From version 12,
We can't set an address to a variable. We can link a variable name with an existing variable.
<syntaxhighlight lang="m2000 interpreter">
Line 1,252 ⟶ 1,254:
print z=x
print k(1,0,1)=x
link z to m
Print VarPtr(z)=VarPtr(m)
}
checkVarptr
Line 1,257 ⟶ 1,261:
{{out}}
<pre>
True
True
True
|