Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
WriteLongInteger
Name:
WriteLongInteger
Syntax:
SIGNED_INTEGER WriteLongInteger ( INTEGER file_handle,
LONG_INTEGER li )
Description:
Writes a long integer from a file starting at the current file position. Four bytes are
written, most significant byte first. Refer to the section entitled "Reading and Writing
Data to a File" on page
use the related functions: FileWrite, WriteInteger, WriteString, WriteStructure,
WriteSignedInteger, WriteLongInteger, WriteLongSignedInteger,
WriteIntegerArray, WriteSignedIntegerArray, WriteLongIntegerArray,
WriteLongSignedIntegerArray, WriteStringArray.
NOTE: Input and Output variables of any kind are not allowed in the file reading and
writing functions, just internal variables.
Use ReadLongInteger to read this.
Parameters:
FILE_HANDLE specifies the file handle of the previously opened file (from
FileOpen).
LI is the long 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.
118
for a discussion of when to use this function and when to
Software
®
SIMPL+
189
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?
Questions and answers