Write entire file: Difference between revisions

Content deleted Content added
imported>Fth
PureFox (talk | contribs)
m →‎{{header|Wren}}: Changed to Wren S/H
Line 1,057:
=={{header|Wren}}==
The easiest way to overwrite a file in Wren is to 'create' it again which truncates the existing contents.
<syntaxhighlight lang="ecmascriptwren">import "io" for File
 
// create a text file