in reply to Re: A more concise way to map the contents of an array.
in thread A more concise way to map the contents of an array.
I like the first one you wrote, i hadn't come across that operator. Seems exactly the same as a conditional statement in Verilog. So it's still pretty readable to me!
Regarding your footnote, supposing i didn't need 0 for false, how would i do it? And how else can you represent false?
Thanks very much for your very helpful reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A more concise way to map the contents of an array.
by LanX (Saint) on Dec 30, 2012 at 13:55 UTC | |
by Amblikai (Scribe) on Dec 30, 2012 at 13:59 UTC | |
by Athanasius (Archbishop) on Dec 30, 2012 at 14:42 UTC | |
by Amblikai (Scribe) on Dec 30, 2012 at 16:11 UTC | |
by LanX (Saint) on Dec 30, 2012 at 14:03 UTC | |
by Amblikai (Scribe) on Dec 30, 2012 at 14:31 UTC |