Anonymous user
Retrieving an Element of an Array: Difference between revisions
add E example
m (oct...) |
(add E example) |
||
Line 197:
i := foo[n] ;
where n is the array index who's base is either 1 or 0 depending on how it was declared.
=={{header|E}}==
<lang e>def value := array[index]</lang e>
=={{header|Erlang}}==
|