Re: AW: Parsing file. It works but...

2005-02-15 Thread Peter Reilly
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

Re: AW: Parsing file. It works but...

2005-02-14 Thread Matt Benson
--- 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,

Re: AW: Parsing file. It works but...

2005-02-14 Thread Peter Reilly
[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. --

AW: Parsing file. It works but...

2005-02-14 Thread Jan . Materne
> project.setProperty("target", items[items.length-1]); Nice solution for setting that value (second value if there is a 2nd) :-) Jan