unlink Command

Scope: Global

Syntax

Parameter

Command 
The command to be unlinked.

Description

The unlink command unlinks a previously linked external command. External commands are loaded the first time they are invoked. Once invoked, an external command remains linked until it is removed with an unlink command or the Editor is terminated. If the external command contains an lxexit subroutine call, this will be invoked to allow the command to terminate any other processes and release the Editor storage.

If you make changes to an external command that has already been run in the current editing session, you must first unlink that external command before running the new version. The query linked command lists the commands currently linked.

Note: This command cannot be used in API calls.

Example

To unlink the command match, type:

unlink match 

API Return Code

-1 
Command not found.
-2 
No command name specified.

linked Parameter