Silverfrost Logo About Us | Contact Us
 

OPENW@

Platform

x64, Win32

Purpose

To open a file for writing.

Syntax

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

Description

This routine opens a file FILE for writing, by creating a file or emptying the file if it already exists. It 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