Increment bug in repeat loops

Jacques Hausser jacques.hausser at unil.ch
Fri Nov 20 19:57:31 EST 2009


... and you should read:

9 : 0.999999999999999889 < 1, so your loop "with i = 0 to 1 step 0.1" will continue for one more step !

It's really time to go to bed...

J. 
******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list