Built FLOAD for Toad the retro Forth. I didn't
install it as a block file but left it as a
sequential file and pasted it into Toad's input.
So this begs the question, if sequential files
can just be pasted in then is FLOAD really needed?
On 9/08/2023 7:51 am, S Jack wrote:
Do you want to nest source to several levels?
On Wednesday, August 9, 2023 at 8:59:40 PM UTC-5, dxforth wrote:
On 9/08/2023 7:51 am, S Jack wrote:
Do you want to nest source to several levels?
No, I don't want to but the question should be do I need
to? It's somewhat primitive but it's workable. I was and
still am in the mode of not implementing features until I
feel the pain. Frog, Toad's predecessor and more advanced
has yet to implement includes (meaning can have up to some number, eight,
of nestings). With Frog I got some nesting
or maybe better to say concurrent loading by using block
loads along with FLOAD. All sequential files that needed
to be loaded for a given task were loaded with FLOADs
in a block file using LOAD. A file being loaded by FLOAD
could also LOAD codes from block files but of course
if block file also did a FLOAD it would terminate the
initial FLOAD (because only one file buffer). But I could
get around this somewhat with FLOAD restarts. A file
would start with FLOAD then found it needed another
sequential file it would execute a marker, load the
needed file, set the marker and restart the original file.
Would want to have all the NEEDS and REQUIRES up front.
In most cases never had more then 3 needed files.
Granted, it's not as smooth as having includes but it's
workable.
Toad by the way now allocates its own buffer so it
can work along with the block files.
----
me
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 18:19:05 |
Calls: | 9,487 |
Calls today: | 6 |
Files: | 13,617 |
Messages: | 6,121,091 |