.s  ( -- )

published: 9 January 2022 / updated 2 December 2023

Lire cette page en français

 

vocabulary: forth

Displays the content of the data stack, with no action on the content of this stack.

Example:

: myLoopTest 
    10 0 do 
       i cr .s 
    loop 
  ; 
\ display:  
<1> 0 
<2> 0 1 
<3> 0 1 2 
..... 
<10> 0 1 2 3 4 5 6 7 8 9 

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