Re: [hlcoders] Updating KeyValues when iterating

2005-08-10 Thread Kamran
On Behalf Of Kamran Sent: Wednesday, August 10, 2005 6:13 PM To: HLCoders Subject: [hlcoders] Updating KeyValues when iterating I'm adding items to a ListPanel and I iterate through a KeyValues object. Works fine, except: while(pInventory) { const char *pToken = pInventory->GetString

RE: [hlcoders] Updating KeyValues when iterating

2005-08-10 Thread Alfred Reynolds
ry->GetNextKey(); } > Can you also send the code snippet for the construction of the listpanel. - Alfred Original Message From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kamran Sent: Wednesday, August 10, 2005 6:13 PM To: HLCoders Subject: [hlcoders] Updating KeyValues w

[hlcoders] Updating KeyValues when iterating

2005-08-10 Thread Kamran
I'm adding items to a ListPanel and I iterate through a KeyValues object. Works fine, except: while(pInventory) { const char *pToken = pInventory->GetString("name"); const char *pName = Items->GetInvItemName(pToken); DevMsg("name: %s\n", pName); // S