strange error in a repeat loop

Andre.Bisseret Andre.Bisseret at inria.fr
Mon Feb 23 08:57:27 CST 2009


Thanks Thierry for you quick answer ;
just a question : why to test if I have 12 items in a line ? (why 12 ?)
I am testing if I have somewhere an item that would not be a number (I  
think empty "accepts" add)

André

Le 23 févr. 09 à 15:44, Thierry a écrit :

>
> Le 23 févr. 09 à 15:27, Andre.Bisseret a écrit :
>
>> <...>
>>    REPEAT FOR each line enil in cmdeDuMois
>
> Test if you have 12 items in your line
> and that every item is not empty and is a number !
>
>>        add item 5 of enil to total5
>>        add item 6 of enil to total6
>>        add item 7 of enil to total7
>>        add item 8 of enil to total8
>>        add item 9 of enil to total9 --  THE ERROR IS POINTED OUT HERE
>
>
>
> Guess you have a wrong data line ????
>
> HTH,
> Thierry
>
>
>>        add item 10 of enil to totalPort
>>        add item 11 of enil to totalGéné
>>        add item 12 of enil to totalAnnul
>>    END repeat
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>





More information about the use-livecode mailing list