[F-Script-talk] how do I call vararg methods?
Brought to you by:
pmougin
From: Jonathan 'W. R. <ni...@re...> - 2004-10-21 16:39:07
|
Greetings all, How do I call a method that takes variable arguments (like stringWithFormat:) from F-Script? For example: > now := NSCalendarDate date > now 2004-10-21 11:36:19 -0500 > nowString := NSString stringWithString:(now description) > nowString '2004-10-21 11:36:19 -0500' > nowString2 := NSString stringWithFormat:'%@', now end of command expected , character 44 > nowString2 := 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" |