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

11 lines
266 B
Text
Raw Permalink Normal View History

2024-10-16 18:07:41 -07:00
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