{  ( -- <names..> )

published: 9 January 2022 / updated 3 December 2023

Lire cette page en français

 

vocabulary: forth

Marks the start of the definition of local variables. These local variables behave like pseudo-constants.

Local variables are an interesting alternative to the manipulation of stack data. They make the code more readable.

Example:

: summ { n1 n2 } 
    n1 n2 + . ; 
3 5 summ    \ display 8 

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