Project

General

Profile

Bug #522

Procedures called by Touch On Change don't run properly

Added by David Baldwin over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
09/29/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

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

#1

Updated by Francois Lionet over 3 years ago

  • Assignee changed from Baptiste Bideaux to Francois Lionet
  • Target version set to Beta RC4

Fixed

#2

Updated by Francois Lionet over 3 years ago

  • Status changed from New to Resolved

Fixed

#3

Updated by David Baldwin over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF