Difference between revisions of "MC-Basic:DELETE$"
m (Text replace - "Version 4.5.3 and higher" to "Since Version 4.5.3") |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| 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= | ||
| − | * [[ | + | * [[MC-Basic:DELETE|DELETE]] |
| − | * [[ | + | * [[MC-Basic:DIR|DIR]] |
| − | * [[ | + | * [[MC-Basic:DIR$|DIR$]] |
| − | [[Category | + | [[Category:MC-Basic:File Management|DELETE$]] |
}} | }} | ||
Latest revision as of 09:16, 22 May 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