Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 30924 invoked from network); 15 Feb 2005 09:19:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Feb 2005 09:19:50 -0000 Received: (qmail 45598 invoked by uid 500); 15 Feb 2005 09:19:46 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45547 invoked by uid 500); 15 Feb 2005 09:19:45 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 45532 invoked by uid 99); 15 Feb 2005 09:19:45 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from gate.corvil.net (HELO corvil.com) (213.94.219.177) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 15 Feb 2005 01:19:45 -0800 Received: from [172.18.1.171] (angel.local.corvil.com [172.18.1.171]) by corvil.com (8.12.9/8.12.5) with ESMTP id j1F9JdwS084712 for ; Tue, 15 Feb 2005 09:19:40 GMT (envelope-from peterreilly@apache.org) Message-ID: <4211BF37.2070600@apache.org> Date: Tue, 15 Feb 2005 09:21:59 +0000 From: Peter Reilly User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: AW: Parsing file. It works but... References: <20050214153951.10605.qmail@web30903.mail.mud.yahoo.com> In-Reply-To: <20050214153951.10605.qmail@web30903.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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 could put in the items[items.length - 1] trick. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org