Deleting Items

The DELETE command is used to delete one or more items from a file.

Format

DELETE [DICT] [dict-name ,] filename item-list

The items specified in the item-list are deleted from the specified file.

>DELETE ORDERS,PAID '10123'

 '10123' DELETED

 

CAUTION

If you attempt to delete a D-pointer you will receive a [236] FILE DEFINITION ITEM ‘x’ NOT DELETED message.

To remove the Editor from a user’s account, you could delete the Command Definition item from the Master Dictionary. The DELETE command does not prompt you to confirm that you want to delete the item.

>DELETE MD EDIT

'EDIT' DELETED

If the item-ID is not specified on the command line, the processor will prompt for a list of IDs. DELETE also uses a select-list, if present.

See Also

Overview of File Management Commands

File Name Syntax

Item Lists

Creating Files

Creating mvBASIC Files

Copying a File

Clearing a File

Deleting Files

Copying File Items

Editing Items