singuerinc
unread,Oct 13, 2011, 7:07:01 PM10/13/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to General Dart Discussion
Hello,
In ActionScript 3 we have a "rest" parameter, this means that you can
pass from 0 to n values to the function. Like this:
public function doSomething(...rest):void{
trace(rest.join('-'));
}
doSomething(25, 'Hi', 'Ciao');
//or
doSomething('One');
//or
doSomething();
There is some kind of this in Dart?
Thanks