Write entire file: Difference between revisions
no edit summary
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
No edit summary |
||
Line 995:
End Module
</syntaxhighlight>
=={{header|Vlang}}==
<syntaxhighlight lang="vlang">
import os
os.write_file('./hello_text.txt', 'Hello there!') or {println('Error: failed to write.') exit(1)}
</syntaxhighlight>
|