[Help]CellTrie
So, i have arrays "ArrayCont","ArrayData"
I put in ArrayData key, like: Code:
TrieSetCell(ArrayData, "key", 123);Code:
TrieSetCell(ArrayCont, "some_key", ArrayData);Code:
new AD |
Re: [Help]CellTrie
Why don't you just try it out?
|
Re: [Help]CellTrie
TrieGetCell(AD, "key", keyvalue);
Returns value of keyvalue, so i guess it rewrites the value. But i don't know for real and i don't know how to check it. |
Re: [Help]CellTrie
I'm quite sure it's not possible to have two keys that are identical in the same Trie.
|
Re: [Help]CellTrie
I didn't understand one thing you were trying to do.
Quote:
If you say you have arrays, we assume they are cellarrays or normal arrays. Also, Trie handles need to be tagged with Trie. If you are going to ask if your code works, we are going to say test yourself. If you need help coding something, then post. |
Re: [Help]CellTrie
Quote:
The question was how function handles some queryes, if it was posted somewhere i wouldn't ask here. SetCell/String rewrites keys values. Thx for help. |
Re: [Help]CellTrie
A key is unique.
|
| All times are GMT -4. The time now is 11:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.