zsh-users
 help / color / mirror / code / Atom feed
* Airthmetic confusion...
@ 2005-05-16 17:55 Meino Christian Cramer
  2005-05-16 20:43 ` Matthias Berndt
  0 siblings, 1 reply; 11+ messages in thread
From: Meino Christian Cramer @ 2005-05-16 17:55 UTC (permalink / raw)
  Cc: zsh-users

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

		



   


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-05-17 14:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-16 17:55 Airthmetic confusion Meino Christian Cramer
2005-05-16 20:43 ` Matthias Berndt
2005-05-16 20:59   ` Mike Hernandez
2005-05-16 21:46     ` Dan Nelson
2005-05-17  1:19       ` Mike Hernandez
2005-05-16 23:39     ` Matthias Berndt
2005-05-17  3:13     ` Meino Christian Cramer
2005-05-17  3:48       ` Bart Schaefer
2005-05-17 11:26         ` Mike Hernandez
2005-05-17 14:57         ` Meino Christian Cramer
2005-05-17  3:14   ` Meino Christian Cramer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).