[fbcocoa] Re: [fbcocoa] lots of args. (was [fbcocoa] Anyone Still Interested)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2010 : Group Archive : Group : All Groups

From: Ross Tulloch <rtulloch@...>
Date: Fri, 19 Feb 2010 09:07:25 +1100
Sorry for the delay. I get the list in digest mode....and sometimes  
snail-mail would be faster!

Robert Covington wrote:

> Now my confusion will end with this....can you refer to a var within  
> the function method itself via the descriptive name or is it for  
> description only?

No, you can't use the names to refer to them.

> It would seem they are for description only and are thus like  
> comments and about as important....

Yes and No. The compiler will use the names to lookup the correct  
function to call but the names themselves don't have an impact on the  
actual call. The args are just passed like args in a normal 'C'  
function.

> And the vars were the same order, that would be ok, rght? These  
> names are not 'ordered' or strict?

Correct.

Hope that makes sense.


Cheers,
Ross.