====== zbuffer_InitByType ====== ===== Description ===== Allocate a static array of variable items in a buffer. ===== Files ===== ^ Declaration | ''Zeolite.h'' | ^ Implementation | ''Zeolite.cpp'' | ===== Function prototype ===== bool zbuffer_InitByType(ZVAR hBuf, long nItems, long ItemTypeID); ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | //hBuf// | ''ZVAR'' | A [[zeolite:types:ZVAR]] handle to a variable of the ''VarID_buffer'' type. | | //nItems// | ''long'' | The number of items to allocate in the buffer. | | //ItemTypeID// | ''long'' | The [[zeolite:varid|variable type ID]] of the items in the buffer. | ===== Return value ===== False if an error occurred, and true otherwise. ===== Comments ===== None.