and name is argument. Definition appears on following lines, one command per line. End with a line of just "end". Use the "document" command to give documentation for the new command. Commands defined in this way may accept an unlimited number of arguments accessed via $arg0 .. $argN. $argc tells how many arguments have been passed.