KCML_SetEditorMagicCallback
Purpose
Set an editor magic callback.
Definition
DEFSUB 'KCML_SetEditorMagicCallback(i, callback_name$, menu_text$) AS Bool
Parameters
| i | Index of the editor magic to set. |
| callback_name | Name of a function to call when the editor magic is run. |
| menu_text | Label for the magic menu item. |
Return
Returns TRUE on success; FALSE if i is out of range.
Description
Set an editor magic callback.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.