examples: Fix stack comment

This commit is contained in:
Remko Tronçon 2022-05-14 20:05:01 +02:00
parent c6ba6270b1
commit 0a7b49d29d
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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