A problem w/ blocks
Patrick Fitzpatrick <[email protected]> Mon, 12 Jan 2026 11:48:07 -0600
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <CA+5yqCZ_abferJm2Y1NnQh77wYBEigXrLxbKt2-wcVfsjF1FcQ@mail.gmail.com> |
I'm trying to use a block file as virtual memory and ran into a problem.
Using this code
===
\ Use (or create) a block file
s" mem.fb" use
1 block drop
1024 constant bytes/block
===
When invoked like this
gforth fitz.fs
I get the following error:
===
in file included from *OS command line*:-1
fitz.fs:4: File I/O exception
1 >>>block<<< drop
Backtrace:
$7CEC4522BD40 throw
$6118C2B8D948
===
What am I missing?
TIA,
Fitz
--
Fitz
Cell: +52 331-156-6709