[Gambas-user] Concatenate collection

Marco Ancillotti gambas at servinfo.it
Wed Sep 6 11:37:34 CEST 2023


Hi all ,

is there a way to unite two collection without doing one key at time ?

something like:

dim a as collection = [ "val1": 1 , "val2": 2 ]
dim b as collection = [ "val3": 3 , "val4": 4 ]

print a + b  -->  [ "val1": 1 , "val2": 2 , "val3": 3 , "val4": 4 ]

thank's in advance,
marco.





More information about the User mailing list