Jump to content

Write entire file: Difference between revisions

Add implement in Go
(added C#, copied from F#)
(Add implement in Go)
Line 109:
 
Option FORM="BINARY" ''does'' allow the reading or writing of however many records are needed to satisfy the I/O list, but, this is not a standard usage.
 
=={{header|Go}}==
<lang Go>import "io/ioutil"
 
func main() {
ioutil.WriteFile("path/to/your.file", []byte("data"), 0644)
}</lang>
 
=={{header|Haskell}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.