[THEN<<<
[UNDEFINED] nil<>? [IF][..]
I can't progress because van Oudheusden uses this all over the place, literally in every file, and I can't compile this piece of code.[..]
On Sun, 1 Dec 2024 14:37:59 +0000, albert@spenarnc.xs4all.nl wrote:
[UNDEFINED] nil<>? [IF][..]
I can't progress because van Oudheusden uses this all over the place,[..]
literally in every file, and I can't compile this piece of code.
In the iForth config.fs file
\ $Date: 2009-05-20 13:27:22 $ $Revision: 1.5 $
it is replaced by
: nil<>? ( addr -- false | addr true = If addr is nil, then return
\ false, else return address with true )
?dup ; \ relies on inlining
It's unlikely I wrote that definition, it was probably done
by Dick (he did the port himself but asked for advice).
The last comment is probably no help, but that's what you get.
-marcel--
In article <cbdf5aa0c5eceac492781def143fe523@www.novabbs.com>,[..]
mhx <mhx@iae.nl> wrote:
I use the convention that 0 is a null-address. If that is the same
in iforth I can probably use the same definition.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 504 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:16:53 |
Calls: | 9,903 |
Calls today: | 12 |
Files: | 13,797 |
Messages: | 6,343,281 |
Posted today: | 6 |