hrev/vrev block commands
Currently if you try and use the cmds hrev/vrev block num it comes up with syntax error.
Hrev Block number or Vrev Block number
Updated by Brian Flanagan about 2 years ago
- Status changed from Resolved to Feedback
- Target version deleted (
- Estimated time set to 1:00 h
- Affected version changed from Beta RC2 to 1.0.0 (B8) u15
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