FILE_SIZE@

Platform

x64, Win32

Purpose

To get the size of FILE in bytes.

Syntax

SUBROUTINE FILE_SIZE@(FILE,SIZE,ERROR_CODE)
CHARACTER (LEN=*) FILE
INTEGER (KIND=3) SIZE
INTEGER (KIND=2) ERROR_CODE

Description

Returns the size of the file specified by FILE in SIZE. ERROR_CODE is returned as zero if the process is carried out successfully, otherwise ERROR_CODE returns a system error code.

File sizes that are greater than or equal to 2147483647 are returned as 2147483647.
The routine FILE_SIZE8@ has the same arguments except that SIZE is declared as REAL*8.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited