Loop question
nshoema
Posts: 6
Hey eveyone, I finally got my Homework board working with a rechargeable battery. I am using the Mac BASIC Stamp editor and I noticed whenever I try use a DO LOOP statement, the editor doesn't highlight or recognize it, it only recognizes FOR NEXT and IF THEN but not ENDIF ELSEIF ELSE or DO LOOP? I never had that issue on my BS1?
Comments
Really? Those are not supported statements on the BS1. You need to use a BS2 (any kind) to use DO, LOOP etc.
I don't use the Mac Editor for BS2 programming. Did you specify/click PBASIC 2.5? PBASIC 2.0 does not support DO loops, ENDIF, ELSE or ELSEIF statements.
DO and LOOP highlight blue for me.
The programme compiles and runs.
I too am having a problem with the DO, LOOP statements. Although I'm on a Windows Vista OS. Just as mentioned above the DO and LOOP are not highlighted and the program does not loop - but does run through one time and stops. I'm using a BS2 and PBASIC 2.5. Any ideas?