Silverfrost Logo About Us | Contact Us

Opening a file

INTEGER E(24)       ! EDIT_INFO block
CHARACTER*(*) FILE  ! Name of file to open

This function discards any existing information in the edit buffer and reads the contents of the specified text file into the buffer. It returns 1 on success and zero if it was unable to open the file. To use this function successfully you are advised to specify a zero buffer size with %eb to obtain a dynamically allocated buffer.



Copyright © 1999-2019 Silverfrost Limited