Siliconetics Developer Center 
(609) 7607027
admin@srcsb.com
Untitled Document
SearchSearch:
ClassMethodGetSubRecord


DESCRIPTION:
Retrieve a subrecord from array.

ClassCLASS: CRecArray

PROTOTYPE(S):
CRecord* GetSubRecord(int Pos);
CRecord* GetSubRecord(int Type, int ID);
CRecord* GetSubRecord(CTag TID);


ARGUMENT(S):
int PosThe requested record position in array.
int TypeThe requested record type. If the value is 0, all types will be accepted.
int IDThe requested record id. If the value is 0, all ids will be accepted.
CTag TIDA tag containing requested record type and id.


RETURN VALUE:
This funtion returns the pointer to the requested subrecord. If the position is invalid or out of range, or the requested type and id does not existed, it returns null.

EXAMPLE:




COMMENT:
Untitled Document
SearchSearch: