Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8529 invoked from network); 13 Apr 2010 19:55:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Apr 2010 19:55:15 -0000 Received: (qmail 98502 invoked by uid 500); 13 Apr 2010 19:55:14 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 98449 invoked by uid 500); 13 Apr 2010 19:55:14 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 98439 invoked by uid 99); 13 Apr 2010 19:55:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 19:55:14 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prvs=67197273eb=shawn.castrianni@halliburton.com designates 34.254.247.12 as permitted sender) Received: from [34.254.247.12] (HELO NP1MAIL002.halliburton.com) (34.254.247.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Apr 2010 19:55:03 +0000 Received: from NP1EXHU010.corp.halliburton.com (np1exhu010.corp.halliburton.com [34.34.132.66]) by NP1MAIL002 (8.14.3/8.14.3) with ESMTP id o3DJsGFJ032030 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 13 Apr 2010 14:54:42 -0500 Received: from NP1EXMB012.corp.halliburton.com ([34.34.134.18]) by NP1EXHU010.corp.halliburton.com ([34.34.132.66]) with mapi; Tue, 13 Apr 2010 14:54:33 -0500 From: Shawn Castrianni To: "'Ant Users List'" Date: Tue, 13 Apr 2010 14:54:32 -0500 Subject: RE: Looping number of times Thread-Topic: Looping number of times Thread-Index: AcrbQOZViAFTHDzySMa1X73JnycG6QAAdgcQ Message-ID: References: <9EE86F1965E19E499C80DE52AC807B5505171A46@z011021.bk.fin.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-HALSTAMP: TRUE X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-04-13_07:2010-02-06,2010-04-13,2010-04-13 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004130222 X-Virus-Checked: Checked by ClamAV on apache.org That is why I said in my response: "I either could not get the ones I found working, or they were just too com= plicated" If you take the while task I sent source code for, and then combine that wi= th antelope tasks to do math operations, you can write a for loop on an ind= ex with: Running this test, gives you: test: [echo] index: 1 [echo] index: 2 [echo] index: 3 [echo] index: 4 [echo] index: 5 [echo] index: 6 [echo] index: 7 [echo] index: 8 [echo] index: 9 [echo] index: 10 BUILD SUCCESSFUL Total time: 0 seconds --- Shawn Castrianni ---------------------------------------------------------------------- This e-mail, including any attached files, may contain confidential and pri= vileged information for the sole use of the intended recipient. Any review= , use, distribution, or disclosure by others is strictly prohibited. If yo= u are not the intended recipient (or authorized to receive information for = the intended recipient), please contact the sender by reply e-mail and dele= te all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org