-
Notifications
You must be signed in to change notification settings - Fork 8
delete
MicroBlaster edited this page Nov 10, 2019
·
3 revisions
Purpose: Deletes a file.
Syntax: delete {filename}
{filename}: The name of the file to be deleted.
Notes: This command will immediately delete the specified file. If the file does not exist, no error will be given.
Example:
# write dead-end list to a file
clientMessage "Querying..."
delete deadends.txt
setVar $i 1
:next
if (SECTOR.WARPS[$i][2] = 0)
write "deadends.txt" $i
end
if ($i > SECTORS)
halt
end
add $i 1
goto :next
.