MKI_FileReadInt16 (File I/O) Changed in Version 2015.0

www.CAD6.com

C++ Syntax

void

MKI_FileReadInt16(

 __int16& f_rValue );

 

Tries to read a 16-bit integer value from the read cache.

 

Parameters

Value

[__int16&] Address of 16-bit integer value to be read. The valid range is -32,768 to 32,767.

 

Return Value

None, but if a read error occurs, the return value of MKI_FileReadError will be set to true. Once a read error occurred, all further calls to any read procedure will be ignored (i.e. return false).

 

Comment

This procedure relies on a high-performance read cache previously established by either MKI_FileReadInitDisk, MKI_FileReadInitDiskOffset or MKI_FileReadInitMemory. As a result, it will fail if this cache is currently not activated!

 

The behavior of this procedure depends on the settings of MKI_FileReadDelimiters!

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH