RosettaCodeData/Task/Associative-array-Merging/FutureBasic/associative-array-merging-2...

11 lines
266 B
Plaintext

void local fn Doit
CFDictionaryRef base = @{ @"name":@"Rocket Skates", @"price":@12.75 }
CFDictionaryRef update = @{ @"price":@15.25, @"color":@"red", @"year":@1974 }
CFDictionaryRef result = concat( base, update )
print result
end fn
fn DoIt
HandleEvents