I should work. This code worked for me: set var vInt1 INT = 0 set var vInt2 INT = 3 while vInt1 >= 0 and vint1 <= .vInt2 then wri .vInt1 set var vInt1 = (.vInt1 + 1) endw return
This was in 7.6 Tracing and setting watch variables so you can really see the values and datatypes can be really helpful. When I am stumped I copy the code out to a small file and test until I find what I am doing wrong. Dennis McGrath -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Charles Parks Sent: Tuesday, August 19, 2008 10:46 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Integer as a condition in a while loop Is there a setting to set when using integers in a while loop? For example: "WHILE fInteger1 BETWEEN 0 AND .fInteger2 THEN" Even when fInteger1 becomes larger than fInteger2 my loop still fires. Is there a way to have it stop executing the loop at that point?

