Every command has a command name , which is a symbol. The symbol names the function that implements the command. The body of the command is the function definition of that symbol.
By convention, commands are named with a
- prefix, although CLIM does not enforce this convention.
To avoid collisions among command names, each application should live in its own package; for example, there might be several commands named
defined for each of a spreadsheet, a navigation program, and a medical application.
CLIM supports a
command line name
which is the "command" that the end user sees and uses, as opposed to the construct that is the command's actual name. For example, the command
would have a command-line name of
. When defining a command using
(or the application's command defining macro), you can have a command line name generated automatically. As you can see from this example, the automatically generated command line name consists of the command's name with the hyphens replaced by spaces and the words capitalized. Any
- prefix is removed.