Feb. 25, 2009
9:32 p.m.
On 25.02.2009, at 22:27, Matthew Fulmer wrote:
Each command will then be a message sent to the object referenced by the variable 'shell'.
entering 'ls' will then invoke 'shell.ls'...
I would say that a command like "ls" is not a method. It's an object (instance of a sublass of "Script" or "Command"). You want, for example, inherit things like command line parsing, standard options (e.g. --help) and things liket that. A command like ls is far too complex to be just one method. Marcus -- Marcus Denker -- denker@acm.org http://www.marcusdenker.de