Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Retrieving an Element of an Array: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Retrieving an Element of an Array
(view source)
Revision as of 14:47, 13 August 2009
182 bytes removed
,
14 years ago
→Forth
:
rm
Revision as of 23:26, 12 August 2009
(
view source
)
rosettacode>IanOsgood
(
→Logo
:
rm
)
← Older edit
Revision as of 14:47, 13 August 2009
(
view source
)
rosettacode>IanOsgood
(
→Forth
:
rm
)
Newer edit →
Line 225:
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]]==
Anonymous user
rosettacode>IanOsgood