Board Thread:General Discussion/@comment-174.130.218.25-20150129215416/@comment-24191375-20150303025510

MiloTsukroff wrote: Sorry, you have a syntax error. The situation is annoying it's caught me so many times that I've memorized it.

Both of these forms of syntax are okay:

IF THEN 

IF GOTO <@label>

Never use this syntax, it generates an error:

IF THEN GOTO <@label>

It's the double THEN and GOTO that drives Petit Computer crazy. You'd think it was allowed, but, nope, it isn't. I just tested this on PTC ver2.2 it works loops without errors like it should.

@A

IF 1 THEN GOTO @A