Sfairadora

  • Reference Guide

command_description

command_description(cmd)
command_description(cmd, data)
The function returns the command description relative to the context in which the function is called. If the function is not associated with a dispel, the function is evaluated in the context of the document main window. The return value is of the type Rich_string. For instance, the description returned by the function is displayed in the menu item that invokes the command in question.
If the command is not available within the current context, an error is returned.

Parameters

cmd
The name of the command (the type String).
data
An optional parameter to the command.