2,732
edits
Red Leader (talk | contribs) (Finish read_properties()) |
Red Leader (talk | contribs) (→Functions: Start readfile()) |
||
Line 230: | Line 230: | ||
=== readfile() === | === readfile() === | ||
Reads and returns a complete file as a string. Failures are thrown as runtime errors as per die(). | {{Nasal doc | ||
|syntax = io.readfile(file); | |||
|text = Reads and returns a complete file as a string. Failures are thrown as runtime errors as per die(). | |||
|param1 = file | |||
|param1text = Path to the XML file as a string. | |||
|example1 = | |||
}} | |||
=== readln(filehandle) === | === readln(filehandle) === |