BSKGetElement

Module: BSKArray
BSKValue* BSKGetElement( BSKArray* array, BSKUI16 index );
Inputs: Returns: the value at the given index.

Description: Gets a pointer to the value at index 'element' of the array pointed to by 'array'. If the array is smaller than the index indicated by 'element', the array is grown to encompass that index. Note that the value returned is the actual value at that index, NOT a copy, so it should not be freed, or invalidated unless you really mean to invalidate that value.

Return to the API
Return to the function listing


Last updated on 9 Feb 2001 by Jamis Buck (minam@rpgplanet.com)