From 0a7b49d29dcea617f39c2cbe2ec2b979b25f4923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 14 May 2022 20:05:01 +0200 Subject: [PATCH] examples: Fix stack comment --- README.md | 2 +- src/web/examples/fetch/fetch.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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