Array problem

Yves Coppé yvescoppe at skynet.be
Sun Jul 7 09:52:01 EDT 2002


>Yves,
>
>As long as cPoints only has student data (i.e. every element in cPoints is
>what you'll be checking), you can do this:
>
>put "" into myList
>put 1 into elementNum
>repeat for each element e in cPoints
>   if e >= 5 then
>     put line elementNum of keys(cPoints) & cr after myList
>   end if
>   add 1 to elementNum
>end repeat
>
>Hope this helps,
>

it returns an empty list !

where is the problem ?
I don't know about this syntax : element, so I cannot see what 
happens in your code.
Are you sure of your code ?
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the Use-livecode mailing list