Hi!
I am trying to compare an element from a Multi-Dimensional Array, but appears an error that says:
“This function parameter expects a value of type tuple(comparable,comparable), but this argument is an incompatible value of type tuple”
var AllAgentsShopBeacons : [][]?beacon_device = array{}
No problem setting an element:
for(NumBeacon := 0..AllAgentsShopBeacons[NumAgent].Length-1, set AllAgentsShopBeacons[NumAgent][NumBeacon] = false)
But I can not compare
if(MaybeBeacon := AllAgentsShopBeacons[NumAgent][NumBeacon], MaybeBeacon = false):
Do something