Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Airthmetic confusion...
- X-seq: zsh-users 8839
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: Berndt.Matthias@xxxxxx
- Subject: Re: Airthmetic confusion...
- Date: Tue, 17 May 2005 05:14:13 +0200 (CEST)
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20050516224332.246839a4@localhost>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050516.195529.74749456.Meino.Cramer@xxxxxx> <20050516224332.246839a4@localhost>
From: Matthias Berndt <Berndt.Matthias@xxxxxx>
Subject: Re: Airthmetic confusion...
Date: Mon, 16 May 2005 22:43:32 +0200
Hi Matthias !
...check the return codes after each expression...
Happy zshing!
Meino
> On Mon, 16 May 2005 19:55:29 +0200 (CEST)
> Meino Christian Cramer <Meino.Cramer@xxxxxx> wrote:
>
> > Hi,
> >
> > I got a little confused here:
> >
> > (( a = 1 + 2 ))
> >
> > works fine, but
> >
> >
> > (( b = 1 )) ; (( a = 1 - b ))
> >
> > does not but
> >
> > (( a = 1 + b ))
> >
> > does.
>
> I don't know your problem, but these expression works fine here. Did you
> make something special before or in your startup-scripts?
>
> Matthias Berndt
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author