From Newsgroup: comp.lang.forth
In article <116puk0$1msvv$
1@dont-email.me>, dave <
dave6502@gmail.com> wrote: >Been happily using SwiftForth for a few months using files and include but >would like to try blocks. Have been digging around the docs and AI but >getting nowhere.
From what I understand I need to assign a file as my virtual block area
(AI says OPEN-BLOCK but that word does not exist).
Can anyone advise ?
ciforth is in fact FIG-forth 5.#.# or 6.#.#.
It has never removed the blocks system (and uses it to implement
the library).
All definitions are high level. So you can start up a ciforth
(lina wina risc i86 arm) and steal everything by decompiling
words. There is no merit in the UPDATE word that is optimnal
for a tape reader, but all words are strictly compliant,
The block buffers are used for buffered including,
What you need is set asided 8 or 16 whatever block storage.
Or you can extract it from the generic source file.
There is a terribly complicatied set of rules what you can do
with EMIT SRC etc. I have added a LOCK to blocks. In that way
you can ignore those rules, because they are automatically
satisfied.
Alternatively you can copy the mechanism from figForth,
that is high level too.
GRoetjes Albert
--
The Chinese government is satisfied with its military superiority over USA.
The next 5 year plan has as primary goal to advance life expectancy
over 80 years, like Western Europe.
--- Synchronet 3.22a-Linux NewsLink 1.2