| www.delorie.com/gnu/docs/gforth/gforth_134.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Your application may need to search files in several directories, like
included does. To facilitate this, Gforth allows you to define
and use your own search paths, by providing generic equivalents of the
Forth search path words:
doc-open-path-file doc-path-allot doc-clear-path doc-also-path doc-.path doc-path+ doc-path=
Here's an example of creating an empty search path:
create mypath 500 path-allot \ maximum length 500 chars (is checked) |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |