Hello all.
I´m trying to add a primitive variable to the value side of a map, but, anyhow i do it, only its value is added.
What I want is to relate the value side of a map to already defined vbles.
a small code snippet for clarify
this gives a log:
34
0
What I want is:
34
34
Any help is appreciated.
I´m trying to add a primitive variable to the value side of a map, but, anyhow i do it, only its value is added.
What I want is to relate the value side of a map to already defined vbles.
a small code snippet for clarify
B4X:
Dim Vble1 As Int = 0
Dim Mapa As Map
Mapa.Initialize
Mapa.Put("Vble1", Vble1)
Vble1 = 34
Log(Vble1)
Log(Mapa.Get("Vble1"))
34
0
What I want is:
34
34
Any help is appreciated.