What it does
DeleteFile writes a value: it deletes rather than reads. It takes szFile (a string), and returns nothing.
Syntax
DeleteFile(szFile string)Parameters
| Name | Type |
|---|---|
| szFile | string |
Every form returns
nothing
Example · generated
DeleteFile("assets/data.dat")DO Sync()LOOPDeleteFile is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.