home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!think.com!snorkelwacker.mit.edu!ai-lab!zurich.ai.mit.edu!jinx
- From: jinx@zurich.ai.mit.edu (Guillermo J. Rozas)
- Newsgroups: comp.lang.scheme
- Subject: Re: wots going on here!?
- Message-ID: <JINX.92Aug29101908@chamarti.ai.mit.edu>
- Date: 29 Aug 92 14:19:08 GMT
- References: <1992Aug29.092113.12007@lugb.latrobe.edu.au>
- Sender: news@ai.mit.edu
- Reply-To: jinx@zurich.ai.mit.edu
- Organization: M.I.T. Artificial Intelligence Lab.
- Lines: 37
- In-reply-to: 9241593t@lux.latrobe.edu.au's message of 29 Aug 92 09:21:13 GMT
-
- In article <1992Aug29.092113.12007@lugb.latrobe.edu.au> 9241593t@lux.latrobe.edu.au (B. Leach) writes:
-
- | This is the sort of error I keep getting:
- |
- | Application of inapplicable object #[undefined-value]
- |
- | There is no environment available;
- | using the current REPL environment
- | ;Package: (user)
- |
- | Now I have NO idea what that means!! Is my program fubar or is the
- | installation?!
- |
-
- What this means is that your program (or the system on behalf of your
- program) tried to apply (i.e. invoke, call) the object whose printed
- representation is `#[undefined-value]' as a procedure.
-
- Of course, that object is not a procedure, and the system didn't let
- you do it.
-
- Since the error occurred at apply time, not at eval time, there is no
- environment defined, and the system is telling you that.
-
- Since there is no environment associated with the error, the system
- must choose one to give you in the new read-eval-print loop (REPL)
- that it will create (the one with the error prompt). The system is
- telling you that it is using the environment of the "surrounding" REPL.
-
- It is also telling you that this environment is the environment
- corresponding to the `(USER)' package, i.e. the default user
- interaction environment (where all your definitions are likely to
- reside).
-
- Although there is no proper environment associated with the error, you
- can go into the debugger (Type `(debug)') to examine the stack and the
- history, where you may find some useful information.
-