READFA@

Platform

x64, Win32

Purpose

To read ASCII text from a file.

Syntax

SUBROUTINE READFA@(DATA, SID, NBYTES_READ, ERROR_CODE)
CHARACTER (LEN=*) DATA
INTEGER (KIND=2) SID, ERROR_CODE
INTEGER (KIND=3) NBYTES_READ

Description

READFA@ reads a line of text from an open file with a given system identifier SID. Tabs are expanded as necessary. ERROR_CODE is returned as zero for success or with a system error code. If end of file is reached, NBYTES_READ is returned as -1, with an ERROR_CODE of zero.

See also

OPENR@, OPENRW@, OPENW@, READF@, WRITEF@, WRITEFA@, CLOSEF@, FPOS@, FPOS_EOF@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited