GREAT, that's exactly what i was looking for!!!
and yes, Howdy-Tzi , i saw your suggestion....
But that's mij mistake, my english is a bit poor... en so is mij 
explaination/question...
i know how to stop a repeat loo using the list.count as end value, but 
in this particular case, the list i need to use for the loop changes 
during the loop and comes out to get a min value compared with the 
repeat, therfor i was seeking a way to check the "yes or no value of the 
list[destination value], to stop the handler, but the lingo reads the 
call earlyer and gives an error out of range.
even if i was asking him to exit the loop even before trying retrieving 
the value.

the "if list.getPos(value) = 0" thing, is exactly wat i mean.... it also 
adds the fact that i don't need to count the lists changes as well.

This should do the trick now, thank you all for the input!!

Fabrice



Kurt Griffin heeft op vrijdag 23 augustus 2002 om 19:44 het volgende 
geschreven:

>>> yes, i know, but... wel a bit difficult to explain, ... the list i
>>> should count have a variation in count value, so it can sometimes
>>> variate, since the repeat as another repeat in it, and the list has
>>> different count result per loop.
>>> anyway, i know i need to build the thing on a different way, but if
>>> there was a "check" to see if the list has indeed a value less than 
>>> the
>>> loop, it would make my life so easy... ooooh so easy and i would have 
>>> to
>>> build it another way!
>>
>> if list.getPos(value) = 0 then
>> --The value is not in the list
>> end if
>
> Or, another way to write the same thing:
>
> if not(list.getPos(value)) then
>  --The value is not in the list
> end if
>
> [To remove yourself from this list, or to change to digest mode, go to 
> http://www.penworks.com/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/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