>NOW...i CAN keep track of when these ovens reaches 150 but i cant get the
>value to decrese once it does so...(or increse when it reaches 1)

Don't add or subtract 1, instead add a variable that you change when 
it gets to the end:

if you use lists, one of them could be to hold the change value for 
each oven, and would start with a value of 1

ovens[whichoven] = ovens[whichoven] + tempchange[whichoven]
if ovens[whichoven] = 0 or ovens[whichoven] = 150 then 
tempchange[whichoven] = tempchange[whichoven] * -1

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to