The search path is initialized when you start Gforth (see Invoking Gforth). You can display it and change it using fpath
in
combination with the general path handling words.
fpath
– path-addr gforth “fpath”
Here is an example of using fpath
and require
:
fpath path= /usr/lib/forth/|./ require timer.fs