Jump to content

Retrieving an Element of an Array: Difference between revisions

Modula-3
(Modula-3)
Line 236:
alias readmyarray { echo -a $array_read(MyArray, 2, 3) }
 
=={{header|Modula-3}}==
 
<pre>
VAR arr := ARRAY [1..3] OF INTEGER {1, 2, 3};
VAR myVar := a[2];
</pre>
 
=={{header|Nial}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.