ae000355431e11c80fcf157eb4944029f20d4ac1
[rrq/rrqforth.git] / adoc / p_comma.adoc
1 // compile.asm: WORD p_comma,',',fasm
2
3 anchor:p_comma[]
4
5 === Word: ,
6
7
8 ....
9 Data stack: ( v -- )
10 ....
11
12 "," (comma) is a function word that puts a cell value on the
13 <<p_here,HERE>> heap.
14
15 ====
16 .Word: ,
17 [caption='Definition concept{counter:exec}: ']
18 ----
19 : , HERE @ 8 ALLOT ! ; ( v -- ; Claim 8 bytes and put value there )
20 ----
21 ====
22
23 See also <<p_colon,:>>, <<p_Ccomma>>. <<p_here,HERE>>, <<p_get,@>>,
24 <<p_allot,ALLOT>>, <<p_put,!>> and <<p_semicolon,;>>.