( -- <string> )" />

."  ( -- <string> )

published: 29 January 2023 / updated 29 January 2023

Lire cette page en français

 

The word ." can only be used in a compiled definition.

At runtime, it displays the text between this word and the delimiting " character end of string.

Example:

: TITLE 
    ."      GENERAL MENU" cr 
    ."      ============" ; 
: line1 
    ." 1.. Enter datas" ; 
: line2 
    ." 2.. Display datas" ; 
: last-line 
    ." F.. end program" ; 
: MENU ( -- ) 
    title cr cr cr 
    line1 cr cr 
    line2 cr cr 
    last-line ;