OPENW@

Platform

x64, Win32

Purpose

To open a file for writing.

Syntax

SUBROUTINE OPENW@(FILE, SID, ERROR_CODE)
CHARACTER (LEN=*) FILE
INTEGER (KIND=2) SID, 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 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.

Example

See OPENRW@ .

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited