file.Delete

From GMod Wiki

Revision as of 23:07, 14 October 2011 by Grocel (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax file.Delete( String filename )
Where is this used?
Description:
Delete a file.
Returns: nil
Part of Library: File
Realm: NewerShared.png
Error.png Warning: This is a dangerous function. Use it with care!
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=File.Delete]File.Delete [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example deletes the file "my_mod/data.txt"
Used onNewerShared.png
Code
file.Delete("my_mod/data.txt")
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox