Changes

Jump to navigation Jump to search
59 bytes added ,  11:58, 26 October 2016
→‎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
<syntaxhighlight lang="nasal">
+
|syntax = io.readfile(file);
io.readfile(file);
+
|text = Reads and returns a complete file as a string. Failures are thrown as runtime errors as per die().
</syntaxhighlight>
+
|param1 = file
 +
|param1text = Path to the XML file as a string.
 +
|example1 =
 +
}}
    
=== readln(filehandle) ===
 
=== readln(filehandle) ===

Navigation menu