Variadic function: Difference between revisions

m
(Updated D entry)
Line 1,028:
// This function can be called with any number or type of objects, as long as you terminate it with "nil":
logObjects(@"Rosetta", @"Code", @"Is", @"Awesome!", nil);
logObjects([NSNumber numberWithInt:@4], @3, @"foo", nil);</lang>
[NSNumber numberWithInt:3],
@"foo", nil);</lang>
 
=={{header|Oz}}==
Anonymous user