add veeery simple file reading
This commit is contained in:
parent
7340601939
commit
e9cca49fc9
2 changed files with 129 additions and 8 deletions
6
lox/read_file.lox
Normal file
6
lox/read_file.lox
Normal file
|
@ -0,0 +1,6 @@
|
|||
var filepath = "Cargo.toml";
|
||||
var c = read(filepath);
|
||||
while (c != nil) {
|
||||
out(c);
|
||||
c = read(filepath);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue