NAG CPP Interface
iomanager::IOManagerBase::read_rec

 Contents

Settings help

CPP Name Style:


1 Description

read_rec reads text from the Input channel associated with unit_number into rec.
IOManagerBase::read_rec returns the number of characters actually read from the Input channel

2 Specification

3 Arguments

1: unit_number types::f77_integer Scalar
On entry: unit number to read from.
2: rec std::string Scalar
On exit: the text read from unit_number.
3: nchar types::f77_integer Scalar
On entry: number of characters to read from unit_number. If read_rec<0 then text should be read until either EOL or EOF has been reached.
Default: -1