Re: Star-up Question
Faried Nawaz <[email protected]> Wed, 07 Apr 2004 23:43:40 +0500
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Organization | Integral Domains |
| Message-ID | <[email protected]> |
Garcez <[email protected]> writes: goo/user 0<= (load "ex.goo" 'goo/usr) Try (load "/home/garcez/goo_dir/ex.goo" 'goo/user) If you look at the source for load in src/goo/eval/top.goo, you'll see that it tries to find ex.goo in *module-search-path*, which defaults to /, ~/.goo/mods/, $GOO_ROOT/local/mods/, and $GOO_ROOT/mods/). The first entry is what lets you load using an absolute path. Another option is to evaluate (use goo/system) (pushf *module-search-path* "/home/garcez/goo_dir") You can probably stick that in ~/.goo/init.goo Faried. -- ^self