
If a > 1 ;Then
DoIt()
Else
DoNothing()
Endif
I don't request a 'then', it was getting on my nerves already in QBasic and I was delighted not to have to use it in PB. But I don't care if it would be optional, so I'm not against it

Code: Select all
If a=2 GoTo GoToMark
Code: Select all
[claculate the Condition]
[If True jump to GoToMark]
...
GoToMark:
[TheCode]
...
Code: Select all
[claculate the Condition]
[If True jump to IfCode]
[jump to EndOfIfCode] ; only executed, if False
IfCode:
[jump to GoToMark]
EndOfIfCode:
...
GoToMark:
[TheCode]
...