Crestron SIMPL+ Reference Manual page 181

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
ReadSignedLongInteger
Name:
ReadSignedLongInteger
Syntax:
SIGNED_INTEGER ReadSignedLongInteger ( INTEGER
file_handle,
SIGNED_LONG_INTEGER sli )
Description:
Reads data from a file starting at the current file position. Each element of the
structure is read, without any padding bytes, that might actually be there in memory.
Refer to the section entitled "Reading and Writing Data to a File" on page
discussion of when to use this function and when to use the related functions:
FileRead, ReadInteger, ReadString, ReadStructure, ReadSignedInteger,
ReadLongInteger, ReadLongSignedInteger, ReadIntegerArray,
ReadSignedIntegerArray, ReadLongIntegerArray, ReadLongSignedIntegerArray,
ReadStringArray.
NOTE: Input and Output variables of any kind are not allowed in the file read
functions.
Parameters:
FILE_HANDLE specifies the file handle of the previously opened file (from
FileOpen).
SLI is the signed long integer whose value is read.
Return Value:
Number of bytes read from file. If the return value is negative, it is an error code.
Software
118
for a
®
SIMPL+
171

Advertisement

Table of Contents
loading

Table of Contents