using IFAGAIN instead
[rrq/rrqforth.git] / adoc / p_dot_temp.adoc
1 // stdio.asm:   WORD p_dot_temp,'.TEMP',fasm
2
3 anchor:p_dot_temp[]
4
5 === Word: .TEMP
6
7 ....
8 Data stack: ( v -- char* n )
9 ....
10
11 ".TEMP" is a function word that renders a cell value as an integer
12 using the current <<p_base,BASE>>, which is either
13 <<p_decimal,DECIMAL>> or <<p_hex,HEX>>. In <<p_decimal,DECIMAL>>
14 <<p_base,BASE>>, a negative value is rendered as such with a leading
15 minus sign, whereas <<p_hex,HEX>> <<p_base,BASE>> rendering is
16 unsigned.
17