mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 06:38:45 +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.
5 lines
139 B
Plaintext
5 lines
139 B
Plaintext
import "io" for File
|
|
|
|
var file = File.open("test/io/file/file.txt")
|
|
file.readBytes(1.2) // expect runtime error: Count must be an integer.
|