Function: fload

Syntax

fload (<file>)

Type

string

Returns

The contents of a text file. The number of values returned is equivalent to the number of lines in the file. Lines terminated by a backslash are considered continuation lines and are concatenated.

Parameters

Examples

In the following statement, the subsequent length of s will correspond to the number of lines in names.dat.

string s[] = fload(names.dat)