fgets

Get string data from a file.

Syntax

result = fgets ( fileHandle ) ;

Arguments

handle fileHandle

Return Value

string result

Warnings

%EOF : At the end of file, the result is "".

Exceptions

%ARGUMENT : Invalid arguments. Usage: result = fgets ( fileHandle ) ;

%FILE : Invalid file handle.

Description

None

Examples

To execute the example below, press or modify the example to try different variations.

Related Links

None