Duncan, Try putting NEXT i in line 9476
The compiler will be seeing two ends to the FOR loop/ Derek [EMAIL PROTECTED] wrote: > > In a message dated 24/04/2008 00:38:28 GMT Daylight Time, > [EMAIL PROTECTED] writes: > > >> But if you try to compile (Turbo or Liberator) some parser error will >> appear... >> > > > > > Hi Gerhard, its a codegen error : "Duplicate Label" Have you ever seen that > error?. Its not mentionned in the manual. The lines in question compile in > Qlib. Problems with IF END IF are identified with parser task. What I am > wondering is if teh error message indicates a clash between, procedure names > and > keywords or perhaps variable definitions although nothing is obvious > obviously. > > Here are the lines : Its part of a SELect ON "value" Line 9480 is the line > codegen complains about. > > > 9464 =3 > 9466 dv_POS=INT(((zone*12)/(dev_ht%-12))*(free%)):IF > dv_POS<1:dv_POS=1 > 9468 IF dv_POS<=dv_start > 9470 scrolls=dv_start-dv_POS > 9472 FOR i=1 TO scrolls > 9474 Dev_Scroll_down > 9476 IF dv_start<=1 :END FOR i > 9478 END FOR i > 9480 END IF > 9482 IF dv_POS>=dv_end > 9484 scrolls=dv_POS-dv_end > 9486 FOR i=1 TO scrolls > 9488 Dev_Scroll_up > 9490 END FOR i > 9492 IF free%-1>dv_end:Dev_Scroll_up > 9494 END IF > > > Duncan > > > > > _______________________________________________ > QL-Users Mailing List > http://www.q-v-d.demon.co.uk/smsqe.htm > > > _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
