Re: request for change of boolean
- Posted by Jason Gade <jaygade at yah?o.?om> Dec 06, 2007
- 837 views
Huh. Learn something new everyday. I've never encountered a language where any nonzero value was counted as "false". I know that some languages treat true as equal to "-1" and some others treat true as equal to "1" but that's for converting boolean to integer. Which languages treat numbers <= 0 as false? Which versions of Pascal? -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.