Jump to content

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}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.