get-action [Function]
Purpose
The get-action function returns the action having a specified name.
Syntax
get-action action &key no-error-p
Arguments
The action argument is an action, or the name of an action.
If the no-error-p argument is t, then no error is generated if Loom cannot find an action having the specified name.
Value
The get-action function returns the specified action, or nil if it cannot be found.
Remarks
The get- functions are faster and do less error-checking than the find- functions. Applications should use the get- functions for best performance.
Examples
(get-action 'move) ==> |ACTION|MOVE
(get-action 'open :no-error-p t) ==> |ACTION|OPEN
See Also
Last modified: Jun 1 1995