> On Jul 7, 2015, at 01:49 , Quincey Morris 
> <[email protected]> wrote:
> 
> On Jul 7, 2015, at 01:39 , Rick Mann <[email protected]> wrote:
>> 
>> The problem arises when you want to initialize more than one variable in 
>> that block of work.
> 
> If you ask the wrong question, you get a wrong answer. :)

Whether or not it was the wrong question is debatable.

> You can use a tuple:

Unfortunately, that requires you to have the values all ready at once. Thanks 
for trying, but I think there's no good way to do this. Best is to just deal 
with var. Or do the hacky thing you suggested earlier, with local vars that get 
assigned at the very end to their lets.

-- 
Rick Mann
[email protected]



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to