Retrieving an Element of an Array: Difference between revisions
Content added Content deleted
m (oct...) |
(add E example) |
||
Line 197: | Line 197: | ||
i := foo[n] ; |
i := foo[n] ; |
||
where n is the array index who's base is either 1 or 0 depending on how it was declared. |
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}}== |
=={{header|Erlang}}== |