Matt Benson wrote:
Yep,
I wanted to write something that Matt would approve
of :-D
What do I have to do with it?
Just joking,
initially I had if (items.length == 1) then .. else ..,
then I remembered all the mods from if .. then .. else to x = (y ? a : b)
and when that was done I saw that I
--- Peter Reilly <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> >> project.setProperty("target",
> items[items.length-1]);
> >>
> >>
> >
> >Nice solution for setting that value (second value
> if there is a 2nd) :-)
> >
Yeah, that is pretty cool, but...
> >
> Yep,
[EMAIL PROTECTED] wrote:
project.setProperty("target", items[items.length-1]);
Nice solution for setting that value (second value if there is a 2nd) :-)
Yep,
I wanted to write something that Matt would approve of :-D
Peter.
--
> project.setProperty("target", items[items.length-1]);
Nice solution for setting that value (second value if there is a 2nd) :-)
Jan