Command

Command -- denotes the class of all commands.

A command behaves as a function does if it is followed by an adjacent expression which can serve as its argument or argument list. In addition, if it appears as the value of an expression typed by the user at top level, then it gets executed with empty argument list. This is accomplished by installing a method for AfterEval.

Create a new command f from a function g with f = new Command from g .

Create a new command f from a shell command named g with f = new Command from "g" . Arguments to f will be provided to g.

Go to main index.

Go to concepts index.