FANDOM


Syntax

DELETE filename.ext

Explanation

DELETE removes the file specified by its input from the disk. If the file is succesfully deleted, DELETE outputs TRUE; otherwise, it outputs FALSE.

To remove a file from a disk in the drive which is not selected, precede the file name with the drive specifier, backslash (\), and a colon.

Examples

? DELETE "KNIFE.LGO

Result: TRUE

? MEMBER? "KNIFE.LGO DIR

Result: FALSE

? DISK

Result: C

? DELETE "B\:SWORD.LGO

Result: TRUE

? MEMBER? "SWORD.LGO (DIR B\:)

Result: FALSE

?

DELETE "????.LGO

erases all files with four-character names with the file extension .LGO and outputs TRUE if the files are successfully erased.

DELETE "\*.LGO

erases all files with names of any length with the file extension .LGO and outputs TRUE if they are successfully erased.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.