Arrays: Difference between revisions
Content added Content deleted
mNo edit summary |
|||
Line 2,703: | Line 2,703: | ||
ALIAS(Astat, n-1, last2ofAstat, 2) |
ALIAS(Astat, n-1, last2ofAstat, 2) |
||
WRITE(ClipBoard) last2ofAstat ! 2.22222222 0 </lang> |
WRITE(ClipBoard) last2ofAstat ! 2.22222222 0 </lang> |
||
=={{header|I}}== |
|||
<lang i>software { |
|||
var a = [] |
|||
a & 2 |
|||
print(a[0]) //Outputs 2 |
|||
a[0] = 4 |
|||
print(a[0]) //Outputs 4 |
|||
}</lang> |
|||
==Icon and Unicon== |
==Icon and Unicon== |