OPENR@

Platform

x64, Win32

Purpose

To open a file for reading.

Syntax

SUBROUTINE OPENR@(FILE, SID, ERROR_CODE)
CHARACTER (LEN=*) FILE
INTEGER (KIND=2) SID, ERROR_CODE

Description

This routine opens the given file FILE for reading and returns the identifier SID for use with other file handling routines. ERROR_CODE is returned as zero if the operation has succeeded, otherwise it is returned with the relevant system error code.

See also

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

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited