
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
||
|
Thanks for your answer Your right For next is not nescesarry #Start IF MINUTE>4 THEN GOTO GeenOntvangst IF NOT RXD THEN GOTO Verder GET Var1 IF Var1=68 THEN GOTO Ontvang #Verder GOTO Start BUT too bad the problem stay I hope that you have a new idea Hans > Hello Hans, > > #OpStart > > Minute = 0 > > > > > > #Start > > FOR I = 1 to 200 > > > IF MINUTE>4 THEN GOTO GeenOntvangst > Here is the first problem. > If minute is higher then 4 it jumps to routine GeenOntvangst > When GeenOntvangst is done then it jumps to Opstart but.... what about the For I = 1 to 200 loop?? > Your software does not allow the For I loop to complete, "NEXT", and this is where the problems begin. > > > > IF NOT RXD THEN GOTO Verder > > GET Var1 > > IF Var1=68 THEN GOTO Ontvang '83 is "S" van Start > Next problem, is the same problem as above. > > > #Verder > > NEXT > > GOTO Start > > As i wrote before, you must be careful when using "for" "next" "goto" and "gosub". > I'm not sure why you are using the FOR I = 1 to 200 but i think your software would work without it. > Greetings, > H.J.W. |
| Antwort schreiben |