Reading files!
- 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.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import "io" for File
|
||||
|
||||
var file = File.open("test/io/file/open.wren")
|
||||
System.print(file is File) // expect: true
|
||||
System.print(file.isOpen) // expect: true
|
||||
Reference in New Issue
Block a user