Re: [F-Script-talk] How can I create a dictionary?
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2008-08-01 06:50:01
|
Hello Tommy, F-Script does not support methods with variable argument list. Just use another method. For example: NSDictionary dictionaryWithObjects:{1, 2} forKeys:{'one', 'two'} Best, Philippe Le 1 août 08 à 02:18, Tommy Sundström a écrit : > I need to create a dictionary. I tried to adapt the Objective C- > syntax like this: > > NSDictionary dictionaryWithObjectsAndKeys: 'Value', 'Key', nil > > But dictionaryWithObjectsAndKeys will not accept more than one > argument. I've also tried different versions of arrays and > parenteses, without success. > What is the correct syntax? > > /Tommy Sundström > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > F-Script-talk mailing list > F-S...@li... > https://lists.sourceforge.net/lists/listinfo/f-script-talk |