Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 93284 invoked from network); 20 Mar 2002 13:19:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Mar 2002 13:19:28 -0000 Received: (qmail 19174 invoked by uid 97); 20 Mar 2002 13:18:30 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 19134 invoked by uid 97); 20 Mar 2002 13:18:29 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 19100 invoked from network); 20 Mar 2002 13:18:29 -0000 Content-Type: text/plain; charset="iso-8859-1" From: stephan beal Reply-To: stephan@einsurance.de To: ant-dev@jakarta.apache.org Subject: suggestion for if/unless syntax change Date: Wed, 20 Mar 2002 14:18:26 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, fellas, i have a suggestion for the if/unless clauses: Rename them to ifset and unlessset. The reason for this is that they have behaviour which is counter-intuitive for most programmers (i.e., the people using Ant), in that they work if the var is set to *any* value, regardless of the true/false interpretation of the var. i understand this is a huge backwards compatibility issue, but it sure would make the usage of if/unless clearer and more intuitive. ----- stephan Generic Universal Computer Guy stephan@einsurance.de - http://www.einsurance.de Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67 "I ain't gen'rally given to physicality of that nature but it saves a lot of arguing." -- Nanny Ogg -- To unsubscribe, e-mail: For additional commands, e-mail: