Bug #522
closedProcedures called by Touch On Change don't run properly
0%
Description
It seems procedures called by Touch On Change are not behaving as they should. When I try to use Goto Label from an If statement, the program just jumps to the next line after end if, not the label. Same happens when I try to Pop Proc. I've put together a demontration:-
Touch On Change "Direction_Control"
// Direct Procedure call - Only first line is printed, so Goto works
Direction_Control
// Now call from Touch On Change - Mouse click or touch
Repeat
Wait vbl
until
Procedure Direction_Control[X,Y,LASTX,LASTY,STATE]
A=10
locate 20,10 : Print "First Line, Goto Done next"
If A=10
Goto Done
End if
Locate 20,12 : Print "Second Line,Pop Proc Next"
If A=10 then Pop Proc
Locate 20,14 : Print "Third Line, none of these lines should be printed"
Done:
End Proc
Updated by Francois Lionet about 4 years ago
- Assignee changed from Baptiste Bideaux to Francois Lionet
- Target version set to Beta RC4
Fixed
Updated by David Baldwin about 4 years ago
- Status changed from Resolved to Closed