thanx everyone for the help....(where would i be without my trusty list)
-----Ursprungligt meddelande-----
Fr�n: Ryan Adams [mailto:[EMAIL PROTECTED]]
Skickat: den 18 januari 2001 17:35
Till: [EMAIL PROTECTED]
�mne: Re: <lingo-l>Value Question
hiya,
why not have another list contaning what to add each time a value needs to
be changed for a particular oven.
when you reach 1 or 150, just change the sign.... somehting along the lines
of
oven_list_temperatures = [48,23,25 .... ]
oven_list_modifying_values = [1,-1,-1....]
repeat with i =1 to 35
oven_list_temperatures[i] = oven_list_temperatures[i] +
over_list_modifying_values[i]
if oven_list_temperatures[i] = 1 or 150 then
over_list_modifying_values[i] = -over_list_modifying_values[i]
end if
end repeat
that any help??????
cheers
ryan
----- Original Message -----
From: Magnus Ewald <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 9:27 AM
Subject: SV: <lingo-l>Value Question
> say there are 35 ovens...they all ahve different temperature between 1 and
> 150. the tempeatures are constanyly increasing or decreasing in a random
> order. When a temperature reaches 150 it will start to decrese until it
> reaches 1 when it will start ti increase again.
> 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)
>
> -----Ursprungligt meddelande-----
> Fr�n: Tim Fohrer [mailto:[EMAIL PROTECTED]]
> Skickat: den 18 januari 2001 09:55
> Till: [EMAIL PROTECTED]
> �mne: AW: <lingo-l>Value Question
>
>
> Do you need to know, wether a value increases or decreases or do
> you need to know wether one of the 25 values hits the 150 or the 1??
>
> Could you tell me for what you need those 25 values??
>
> GReetz Tim
>
> -----Urspr�ngliche Nachricht-----
> Von: Magnus [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 18. Januar 2001 08:47
> An: '[EMAIL PROTECTED]'
> Betreff: SV: <lingo-l>Value Question
>
>
>
>
> HI list
>
> i am trying to keep trck of 25 different "values" which are at first
> randomized between 1 and 150. As soon as the movie starts they will all
> increase its own values until they reach 150 and then they will start do
> decrease until they reach the value of 1 where they will increase back
> again. Since they all will have a randomized value from start i am having
a
> bit of a hazzle keeping track of all these values without using 25
globals.
> I have been using lists to make the values randomized and increasing, BUT
i
> find it har to know how i should keep track of whether the values are
> increasing or decreasing...I know that the answer to this problem should
be
> solved by using some kind of list, but how?
> This was harder than i thought to describe, hope someone can be of
> help....THANX !
>
> [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!]
>
> [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!]
>
> [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!]
>
[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!]
[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!]