Steve,
You always get me thinking!
David
>________________________________
> From: Steve Wampler <swamp...@noao.edu>
>To: unicon-group@lists.sourceforge.net
>Sent: Thursday, September 5, 2013 12:46:47 PM
>Subject: Re: [Unicon-group] List comprehension
>
>
>On 09/03/2013 04:06 PM, Clinton Jeffery wrote:
>> which is equivalent to
>>
>> {__tmp := []; every put(__tmp, generator_expression); if *__tmp>0 then __tmp
>> }
>>
>> Most typically I imagine this will be used in statements like
>>
>> L:= [: 1 to 10 :]
>>
>> but I am sure there are other creative uses. This being "real new", there
>> may be flaws and I welcome feedback. I don't
>> think it is cast in stone yet.
>
>This is so cool. Consider some possibilities:
>
> A := [: !&input :]
>
> "012345679" ? a := [: |(move(1)\1) :]
>
> [: seq() :]
>
>(Yes, I tried that last one. No, you don't want to...)
>--
>Steve Wampler -- swamp...@noao.edu
>The gods that smiled on your birth are now laughing out loud.
>
>------------------------------------------------------------------------------
>Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>Discover the easy way to master current and previous Microsoft technologies
>and advance your career. Get an incredible 1,500+ hours of step-by-step
>tutorial videos with LearnDevNow. Subscribe today and save!
>http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
>_______________________________________________
>Unicon-group mailing list
>Unicon-group@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group