From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1282 invoked from network); 7 Jul 2001 16:45:19 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 Jul 2001 16:45:19 -0000 Received: (qmail 6736 invoked by alias); 7 Jul 2001 16:44:14 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15301 Received: (qmail 6724 invoked from network); 7 Jul 2001 16:44:13 -0000 From: "Bart Schaefer" Message-Id: <1010707164314.ZM16164@candle.brasslantern.com> Date: Sat, 7 Jul 2001 16:43:14 +0000 In-Reply-To: <1010707160616.ZM14531@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Parameters are being typed as float by default?" (Jul 7, 4:06pm) References: <1010707160616.ZM14531@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Parameters are being typed as float by default? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 7, 4:06pm, Bart Schaefer wrote: } Subject: Parameters are being typed as float by default? } } This has something to do with 15291, 15292. } } let lines=$LINES-2 } } Why did $lines become float-typed? It became float-typed because at math.c:644, MN_UNSET != MN_INTEGER, so the types of both the integer and the unset parameter got coerced to float. However, I don't know the right way to fix this. I'm pretty sure that MN_UNSET should not be changed to MN_INTEGER at that point in the code. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net