base  ( -- addr )

published: 29 January 2023 / updated 30 January 2023

Lire cette page en français

 

vocabulary: forth

Single precision variable determining the current numerical base.

The BASE variable contains the value 10 (decimal) when FORTH starts.

Example:

DECIMAL     \ select decimal base 
2 BASE !    \ select binary base