You're right -- that's not the correct behavior. Thanks for the
report.

I think Yura wrote:
[Charset koi8-r unsupported, filtering to ASCII...]
> Hi
> 
> I think there is a bug in the 'for'-loop implementation. The following code 
> returns '1' (incorrect):
> 
> (bind ?x 1)
> (for (bind ?i 1) (< ?i 2) (++ ?i)
>   (bind ?x (float ?x))
>   (printout t "?x == " ?x crlf)
> )
> ?x
> 
> When I comment out the 'for'-block the expression evaluates to '1.0' 
> (correct). I'm using 70b3.
> 
> Yuri



---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to