Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Airthmetic confusion...
- X-seq: zsh-users 8832
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- Subject: Airthmetic confusion...
- Date: Mon, 16 May 2005 19:55:29 +0200 (CEST)
- Cc: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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. Seems I cannot asign "0" to a variable.
But how can it be possible to assure, that no calculation in
a script will never result in zero ?
Keep zshing!
Meino
Messages sorted by:
Reverse Date,
Date,
Thread,
Author