I endorse others' explanations and recommendation of co-expressions, but
note that they are a relatively heavyweight language construct, comparable
to a thread in terms of scope and space required.
Picking the 3rd result out of a generator is an odd/rare request, for which
the limitation operation is probably sufficient. Just to be unhelpful,
I offer up the following examples of picking the third result without
resorting to "every". I am not advocating people write code like this:
write( 2(i:=0, ("a"|"b"|"c"|"d") , (i +:= 1)=3))
Nor am I advocating people write code like this:
write(put([], ("a"|"b"|"c"|"d"))[3])
But they work! Bwa ha ha ha! (insert your own evil laugh here)
Can anyone construct a shorter expression for Art?
Clint
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group