14 lines
374 B
Plaintext
14 lines
374 B
Plaintext
void local fn DoIt
|
|
CFDictionaryRef base = @{@"name" :@"Rocket Skates", @"price":@12.75, @"color":@"yellow"}
|
|
CFDictionaryRef update = @{@"price":@15.25, @"color":@"red", @"year":@1974}
|
|
|
|
CFMutableDictionaryRef merged = fn MutableDictionaryWithDictionary( base )
|
|
MutableDictionaryAddEntriesFromDictionary( merged, update )
|
|
|
|
print merged
|
|
end fn
|
|
|
|
fn DoIt
|
|
|
|
HandleEvents
|