diff --git a/README.md b/README.md index 02607d9..d156aa2 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/web/examples/fetch/fetch.ts b/src/web/examples/fetch/fetch.ts index 330953c..4cbe501 100644 --- a/src/web/examples/fetch/fetch.ts +++ b/src/web/examples/fetch/fetch.ts @@ -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