Silverfrost Logo About Us | Contact Us
 

OPENR@

Platform

x64, Win32

Purpose

To open a file for reading.

Syntax

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

Description

This routine opens the given file FILE for reading and returns the file handle HANDLE 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.

Example

See OPENRW@

 

 

Copyright © 1999-2017 Silverfrost Limited