Retrieving an Element of an Array: Difference between revisions

Content added Content deleted
(→‎Logo: rm)
Line 225: Line 225:


Value = array:get(Index, Array).
Value = array:get(Index, Array).

==[[Forth]]==
Forth does not have special syntax for array access. Address arithmetic is used to access contiguous memory.
create array 1 , 2 , 3 , 4 ,
array 2 cells + @ . \ 3


==[[Fortran]]==
==[[Fortran]]==