Silverfrost Logo About Us | Contact Us
 

WRITEF@

Platform

x64, Win32

Purpose

To write binary data to a file.

Syntax

SUBROUTINE WRITEF@(DATA,HANDLE, NBYTES, ERROR_CODE)
CHARACTER (LEN=*) DATA
INTEGER (KIND=2) HANDLE, ERROR_CODE
INTEGER (KIND=3) NBYTES

Description

Writes NBYTES of binary data DATA to the file with the given handle. ERROR_CODE is returned as zero for success or a system error code on failure. No data compression on insertion of control characters is performed.

Notes

If the input value of NBYTES is supplied as a constant, it is usually necessary to force its length to 4 bytes (append L to the decimal value).

 

 

Copyright © 1999-2017 Silverfrost Limited