Skip to content

lo.file_functions_and_constants

x768 edited this page Jan 20, 2018 · 1 revision

Functions

fopen(filename:Str, [mode:Str]):Utf8IO

Opens textfile as UTF-8 encoding.

let src = fopen("src.txt") // read mode
let dst = fopen("dst.txt", "w")

for line in src {
    dst.puts line
}

Constants

Clone this wiki locally