> On Jul 7, 2015, at 01:49 , Quincey Morris 
> <quinceymor...@rivergatesoftware.com> wrote:
> 
> On Jul 7, 2015, at 01:39 , Rick Mann <rm...@latencyzero.com> 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
rm...@latencyzero.com



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to