Difference between revisions of "MC-Basic:DELETE$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Version 4.5.3 and higher" to "Since Version 4.5.3")
m
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write only. Only files that are not loaded into RAM can be deleted.<br>
+
*Write only. Only files that are not loaded into RAM can be deleted.<br>
 
+
*Files that are protected by a password may not be deleted.
Files that are protected by a password may not be deleted.
 
  
 
|EXAMPLE=
 
|EXAMPLE=
Delete$ “File1.PRG”
+
<pre>Delete$ “File1.PRG”</pre>
  
 
Or
 
Or
  
Common sharedFName as string = ““File1.PRG”
+
<pre>Common sharedFName as string = ““File1.PRG”  
 
 
 
Delete$ FName
 
Delete$ FName
 +
</pre>
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 11:44, 23 April 2014

This command is used to delete a file from the Flash Disk.

Syntax

Delete <filename string>

Availability

Since Version 4.5.3

Type

<filename>: string

Range

<filename>: name of a file that exists on the disk

Scope

Terminal

Limitations

  • Write only. Only files that are not loaded into RAM can be deleted.
  • Files that are protected by a password may not be deleted.

Examples

Delete$ “File1.PRG”

Or

Common sharedFName as string = ““File1.PRG” 
Delete$ FName

See Also