[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stupid Start-up Question



you need to quote the module name:

   (load "test.goo" 'goo/user)

jonathan

On Thursday, October 16, 2003, at 06:48 PM, Brent Fulgham wrote:

> How do you properly load a GOO file you have previously saved?
>
> The obvious answer doesn't seem to work right:
>
> * Given a file "test.goo":
>
> ===TEST.GOO=============================
> (df test (x) (+ 1 x))
>
> (test 3)
> ========================================
>
> C:\Fulgham\Programs\GooTest>goovc
> ;;; GOO
> ;;; JONATHAN BACHRACH
> ;;; MIT AI Lab
> ;;; JAN 16, 2003
> ;;;
> ;;; VERSION = 0.153
> ;;; ROOT    = c:\fulgham\programs\goo
>
> goo/user 0<= (load "test.goo" goo/user)
> ERROR: Unbound variable goo/user.
> Type ",restart N" to restart execution:
> 1. Return to interpreter level 1.
> 2. Return to interpreter level 0.
> 3. Exit the top-level interpreter.
> goo/user 1<= (load "test" goo/user)
> ERROR: Unbound variable goo/user.
> Type ",restart N" to restart execution:
> 1. Return to interpreter level 2.
> 2. Return to interpreter level 1.
> 3. Return to interpreter level 0.
> 4. Exit the top-level interpreter.
> goo/user 2<=
>
> Can anyone tell me what I'm doing wrong?
>
> Thanks,
>
> -Brent
>
>