RosettaCodeData/Task/Hash-from-two-arrays/FutureBasic/hash-from-two-arrays.basic

13 lines
278 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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