[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:23 Oct 2004 14:29:43 -0000 
Subject:Re: sematic networks 
From:Aaron Sloman 
Volume-ID: 

Wayn wrote:

> where can i get teach or help files for semantic
> networks?

    TEACH SEMNET
    TEACH LONDON

there may be other things I don't know about.


> also i got this error but converse is defined...???
> also problems with name proceedure  and names.p

One problem at a time please.

>
> ** [hello]
> ** [what is your name ?]
> ? doc
> ** [hello doc it is nice to meet you again]
>
> ;;; MISHAP - enp: EXECUTING NON-PROCEDURE
> ;;; INVOLVING:  <undef converse>
> ;;; DOING    :  start pop_setpop_compiler runproc
> runproc

You may have thought you compiled it when you had not done
so. It is easy to test:

    converse =>

could print out
    ** <undef converse>

or
    ** <procedure converse>

If it does the former there is something wrong with how
you are compiling things. E.g. there might be a comment

    /*
        ...

    */

or a list expression

    [
        ...

    ]

or a vector expression


    {
        ...
    }

containing the procedure definition. That would stop the definition
being compiled.

Or you may have put it in a different file that you have to compile
first.

Or you may have a syntactic error in the definition of converse
that stops it being compiled.

Read very carfully ALL output printed when you compile a file.
You may get warnings or error messages that indicate that something
serious has gone wrong.

Check that converse compiles on its own.

You can put the Ved cursor in the procedure definition and do this (Load
Current Procedure):

    ENTER lcp

Or mark the procedure and compile it using 'lmr' as explained in
TEACH lmr

I think you will find that your version did not compile. So it could
not be used.

(You can't declare a variable as BOTH lvars and vars in the same
procedure.)

Congratulations on your persistence!

Aaron