The Syntax Error has been corrected, however Hrev Block and Vrev Block still have a problem.
They only work the first time called.
Calling Hrev Block, Then Put Block, then calling HrevBlock again should restore the original block in memory, but it doesn't. The same goes for Vrev Block. It works the first time, but doing it again does not restore the original block.
Here's an example:
#manifest: "amiga"
Curs Off : Flash Off
Box 0,0 To Screen Width-1,Screen Height-1
Draw 0,0 To Screen Width-1,Screen Height-1
Get Block 1,0,0,50,50
' This works
Hrev Block 1
Put Block 1,0,0
' This works
Vrev Block 1
Put Block 1,50,50
' This does NOT work (should flip the altered block horizontally)
Hrev Block 1
Put Block 1,100,100
' This does NOT work (should flip the altered block vertically)
' Should be back to original state after this Vrev
Vrev Block 1
Put Block 1,150,150