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

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(9 intermediate revisions by 3 users not shown)
Line 7: Line 7:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Version 4.5.3 and higher
+
Since Version 4.5.3
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 13: Line 13:
  
 
|TYPE=
 
|TYPE=
''<filename>'': string
+
<''filename''>: string
  
 
|RANGE=
 
|RANGE=
''<filename>'': name of a file that exists on the disk
+
<''filename''>: name of a file that exists on the disk
  
 
|UNITS=
 
|UNITS=
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=
* [[Axystems:MC-Basic:DELETE|DELETE]]
+
* [[MC-Basic:DELETE|DELETE]]
* [[Axystems:MC-Basic:DIR|DIR]]
+
* [[MC-Basic:DIR|DIR]]
* [[Axystems:MC-Basic:DIR$|DIR$]]
+
* [[MC-Basic:DIR$|DIR$]]
 
 
  
 +
[[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

See Also