Project

General

Profile

Actions

$fread » History » Revision 1

Revision 1/6 | Next »
Per Amundsen, 08/12/2015 09:06 AM


Added in 1.9.0

$fread(name|N)

Returns the next $crlf delimited line from an open file.

Parameters

name|N - Name of the file or the Nth file.

Example

; Open a file.
/fopen Example Example.txt

; Add some text to the file.
/fwrite Example Hello World

; Read the next line.
//echo -ag Next line is: $fread(Example)

; Close the file.
/fclose Example

; Delete the file.
/remove Example

Updated by Per Amundsen over 8 years ago · 1 revisions

Also available in: PDF HTML TXT