Raised This Month: $ Target: $400
 0% 

[Help]CellTrie


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Lightokun
Member
Join Date: Oct 2009
Old 11-28-2010 , 20:01   [Help]CellTrie
Reply With Quote #1

So, i have arrays "ArrayCont","ArrayData"
I put in ArrayData key, like:
Code:
TrieSetCell(ArrayData, "key", 123);
Then i put ArrayData in ArrayCont:
Code:
TrieSetCell(ArrayCont, "some_key", ArrayData);
What happens when i try to rewrite a key in ArrayData, like this?
Code:
new AD
TrieGetCell(ArrayCont, "some_key", AD)
TrieSetCell(AD, "key", 321);
It will add a new key and there will be two keys "key" or it'll rewrite "key" value "123" to value "321"?
__________________

Last edited by Lightokun; 11-28-2010 at 20:01. Reason: title
Lightokun is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode