I have searched into its documentation but I did not find anything
about file paths but a file (devel/~pinka/samples/2005/lib/lay-path.f)
that "provides words for lay a path to file (creating non-existent
folders)". That's not really what I need. I could use that solution,
but I would have to add a new layer in my code and then adapt it back
to run in other ANS Forths.
I need something transparent and simpler, like the "General Search
Paths" words of gforth.
If needed, I could adapt the SP-Forth code myself but perhaps someone
has had the same problem before.
Thank you
Marcos
~ygrek/lib/included.f
with: my_path\
S" my path with spaces/" with
or
MODULE: included_path
CREATE my_path/
S" My path with spaces/" CREATED
;MODULE
and all the files will be searched in my_path in addition to the
earlier described algorithm (my_path can be either absolute or relative
spf.exe).
Hope that helps.
---
~ygrek
> In SPF INCLUDED works in the following way - S" file.f" INCLUDED will ...
Thank you very much for the detailed solution. I will try it. I have
worked with gforth, Win32Forth and others, but SP-Forth is a recent
discovery for me.