Revision Difference
file.Delete#528552
<function name="Delete" parent="file" type="libraryfunc">
<description>
Deletes a file or `empty` folder that is relative to the **data** folder.
You can't remove any files outside of **data** folder.⤶
Deletes a file or `empty` folder that is relative to the **data** folder. You can't remove any files outside of **data** folder.
</description>
<realm>Shared and Menu</realm>
<args>
<arg name="name" type="string">The file name</arg>⤶
<arg name="name" type="string">The file name.</arg>⤶
</args>
</function>
<example>
<description>Deletes **data/helloworld.txt** file.</description>
<code>file.Delete( "helloworld.txt" )</code>
⤶
</example></example>