mirror of
https://github.com/remko/waforth
synced 2025-01-17 18:11:39 +01:00
examples: Fix stack comment
This commit is contained in:
parent
c6ba6270b1
commit
0a7b49d29d
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ forth.bindAsync("ip?", async () => {
|
|||
|
||||
forth.interpret(`
|
||||
( IP? callback. Called after IP address was received )
|
||||
: IP?-CB ( flag c-addr n -- )
|
||||
: IP?-CB ( true c-addr n | false -- )
|
||||
IF
|
||||
." Your IP address is " TYPE CR
|
||||
ELSE
|
||||
|
|
|
@ -23,7 +23,7 @@ import WAForth from "waforth";
|
|||
// Load Forth code to bind the "ip?" call, and define the continuation callback
|
||||
forth.interpret(`
|
||||
( IP? callback. Called after IP address was received )
|
||||
: IP?-CB ( flag c-addr n -- )
|
||||
: IP?-CB ( true c-addr n | false -- )
|
||||
IF
|
||||
." Your IP address is " TYPE CR
|
||||
ELSE
|
||||
|
|
Loading…
Reference in a new issue