cells  ( n -- n' )

published: 13 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Multiply CELL content.

Allows you to position yourself in an array of integers.

Example:

create table ( -- addr) 
    1 ,  5 ,  10 ,  50 ,  100 , 500 , 
\ get values indexed 0 and 3 from table 
table 0 cells + @ .   \ display 1 
table 3 cells + @ .   \ display 50 

Legal: site web personnel sans commerce / personal site without seling