Hi, I have a question , what can cause a local variable in a sub to change it's value randomly.
The local var is not double used as a global var, and is only used in sub part1.
What can cause a local variable to change it's value only in release mode.?
The local var is not double used as a global var, and is only used in sub part1.
B4X:
sub part1
Dim k1,k2,k3,k6,k7,k8,k9,k10,k11,k12,k13 As Int '<=== local vars
k12 = 1234
Log("k12 ="&k12) '<===== always gives 1234
anothersub '<== calling another sub
Log("k12 ="&k12) '<===== always 1234 in debug but in release mode i somethimes get 357302632
end sub
What can cause a local variable to change it's value only in release mode.?