default process forms
"xiaolei zhang" <[email protected]> Tue, 11 Apr 2006 18:02:40 +0800
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
hello:
The Scsh Reference Manual said:
------------------------------------------------------------------------------------
The default case (prog arg1 ... argn) is also implicitly backquoted. That is, it is equivalent to:
(begin (apply exec-path `(prog arg1 ... argn)))
-------------------------------------------------------------------------------------
I had tried:
1、(ls)
2、(begin (apply exec-path `(ls)))
3、(run (ls))
1 fails, and 2,3 worked. But the reference manual saids 1 is equivalent to 2, why 1 fails? The error messages are:
----------------------------
Error: undefined variable
ls
(package user)
----------------------------
thank you
xiaolei zhang
[email protected]
2006-04-11