View Single Post
  #8  
Old 01-10-2006, 10:26 PM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
HTML Code:
function somefunc(/*arg1, arg2*/)
{
  temp.arg1 = params.size() > 0 ? params[0] : "default";
  temp.arg2 = params.size() > 1 ? params[1] : "default";
}
I win.

Last edited by Rick; 01-10-2006 at 11:35 PM..