mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 14:18:42 +01:00
- File.close() - File.open() - File.read() - file.readBytes() And a few other little methods. Still lots more work to do, but it's a start.
4 lines
107 B
Plaintext
4 lines
107 B
Plaintext
import "io" for File
|
|
|
|
File.open("nonexistent") {|file|} // expect runtime error: no such file or directory
|