L_DELETE

Delete a list

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall L_DELETE(list_id)

Arguments

list_id

The ID of the list to delete. (n)

Discussion

L_DELETE deletes a list.

A list is automatically deleted when the user exits the environment in which the list was created (unless the list is promoted to global status). L_DELETE enables you to delete a list explicitly. If you try to delete a list that is placed at a prior environment level, a fatal error occurs.

Examples

The following example deletes the list whose ID is stored in mylst.

xcall l_delete(mylst)