MKI_FileWriteKeyword (File I/O)

www.CAD6.com

C++ Syntax

void

MKI_FileWriteKeyword(

 __int32 f_nKeyNum );

 

Writes a keyword (including its terminating semicolon) to the current write cache.

 

Parameters

KeyNum

[__int32] ID of the keyword to be written. For a complete list of keyword IDs, please refer to MKI_MKD_KEY_*. For a detailed description of the keyword's usage, see MKD Basics.

 

Return Value

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

 

Comment

This procedure relies on a high-performance write cache previously established by either MKI_FileWriteInitNull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory. As a result, it will fail if this cache is currently not activated!

 

The behavior of this procedure depends on the settings of MKI_FileWriteDelimiters and MKI_FileWriteZeros!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH