OpenBoot 3.x Command Reference Manual

Numeric Output Word Primitives

Table I-25 Numeric Output Word Primitives

Command 

Stack Diagram 

Description 

#

( +l1 -- +l2 ) 

Convert a digit in pictured numeric output. 

#>

( l-- addr +n )  

End pictured numeric output. 

<#

( -- ) 

Initialize pictured numeric output. 

(.)

( n -- ) 

Convert a number to a string. 

(u.)

( -- addr len ) 

Convert unsigned to string. 

digit

( char base -- digit true | char false ) 

Convert a character to a digit. 

hold

( char -- ) 

Insert the char in the pictured numeric output string. 

$number

( addr len -- true | n false ) 

Convert a string to a number. 

#s

( l -- 0 ) 

Convert the rest of the digits in pictured numeric output. 

sign

( n -- ) 

Set sign of pictured output.