Re: [F-Script-talk] how do I call vararg methods?
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2004-10-21 17:37:56
|
Hi Jonathan, Currently F-Script does not support calling a method with variable=20 number of arguments. Best, Philippe Mougin Le 21 oct. 04, =E0 18:39, Jonathan 'Wolf' Rentzsch a =E9crit : > Greetings all, > > How do I call a method that takes variable arguments (like > stringWithFormat:) from F-Script? For example: > >> now :=3D NSCalendarDate date > >> now > 2004-10-21 11:36:19 -0500 > >> nowString :=3D NSString stringWithString:(now description) > >> nowString > '2004-10-21 11:36:19 -0500' > >> nowString2 :=3D NSString stringWithFormat:'%@', now > > end of command expected , character 44 > >> nowString2 :=3D NSString stringWithFormat:'%@' now > > error: an instance of NSCFString does not respond to "now" > > | Jonathan 'Wolf' Rentzsch http://rentzsch.com > | Red Shed Software http://redshed.net > | "better" necessarily means "different" > |