RosettaCodeData/Task/Hash-from-two-arrays/FutureBasic/hash-from-two-arrays.basic
2023-07-01 13:44:08 -04:00

12 lines
278 B
Text

include "NSLog.incl"
void local fn DoIt
CFArrayRef keys = @[@"Key1",@"Key2",@"Key3",@"Key4"]
CFArrayRef values = @[@"One",@"Two",@"Three",@"O'Leary"]
CFDictionaryRef dict = fn DictionaryWithObjectsForKeys( values, keys )
NSLog(@"%@",dict)
end fn
fn DoIt
HandleEvents