EasyManua.ls Logo

Crestron SIMPL+ - WriteInteger Function

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 185
WriteInteger
Name:
WriteInteger
Syntax:
SIGNED_INTEGER WriteInteger ( INTEGER file_handle,
INTEGER i )
Description:
Writes an integer from a file starting at the current file position. Two bytes are
written, most significant byte first. Refer to the section entitled “Reading and Writing
Data to a File” on page 118 for a discussion of when to use this function and when to
use the related functions: FileWrite, WriteInteger, WriteString, WriteStructure,
WriteSignedInteger, WriteLongInteger, WriteLongSignedInteger,
WriteIntegerArray, WriteSignedIntegerArray, WriteLongIntegerArray,
WriteLongSignedIntegerArray, WriteStringArray.
Use ReadInteger to read this.
Parameters:
FILE_HANDLE specifies the file handle of the previously opened file (from
FileOpen).
I is the integer whose value is written.
Return Value:
Number of bytes written to the file. If the return value is negative, it is an error code.
NOTE: Input and Output variables of any kind are not allowed in the file reading and
writing functions, just internal variables.

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals