KCML_SetEditorMagicCallback

Purpose

Set an editor magic callback.

Definition

DEFSUB 'KCML_SetEditorMagicCallback(i, callback_name$, menu_text$) AS Bool

Parameters

iIndex of the editor magic to set.
callback_nameName of a function to call when the editor magic is run.
menu_textLabel 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.