Platform | x64, Win32 |
Purpose |
To open a file for writing. |
Syntax |
SUBROUTINE OPENW@(FILE, 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@ . |