The older PBC could only handle a label after the IF-THEN statement.

PBP can handle more situations.

1. A label, same as PBC.
IF x=y THEN Label

2. Multiple(or single) statements
IF x=y THEN
z=x+y
q=w-e
r=z+q
ENDIF

3. Multiple(or single) statements with else
IF x=y THEN
z=x+y
q=w-e
r=z+q
ELSE
z=x-y
q=w+e
r=z*q
ENDIF

For some reason the manual states that this .....

IF x=y THEN z=x+y

.... is illegal, but it works just fine. It compiles exactly the same as ....

IF x=y THEN
z=x+y
ENDIF

If you're a gambler you could use the first(i do), if you want to be safe you should use the latter.

/Ingvar