Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3911

Dictionary : keys as Pair

$
0
0

Hi guys !
I have a dictionary that has Pairs as Key and a variant as value

Exemple :

Dim mDict as New Dictionary

mDict.value(1:2) = “somevalue”
mDict.value(2:2) = “OtherValue”

// replacing the 1:2 value
mDict.value(1:2) = “replacedvalue”

it doesnt replace de value, it simply add a new value (3 rows instead of 2 in the dictionary)
any suggestion ?
PS : pairs are always integers

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3911