Silverfrost Logo About Us | Contact Us
 

READFA@

Platform

x64, Win32

Purpose

To read ASCII text from a file.

Syntax

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

Description

READFA@ reads a line of text from an open file with a given HANDLE. 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.

Example

See OPENRW@ .

 

 

Copyright © 1999-2017 Silverfrost Limited