How to break out of called program from within subroutine?
Posted: Thu May 07, 2026 11:13 am
Is there some way in the setup below to break out of child.prg from the subroutine childsub and return to parent.prg? The desired solution would show the dialog box "after child" but none of the other two.
parent.prg
child.prg
parent.prg
Code: Select all
exec .\child.prg
@uiprompt("after child")Code: Select all
call childsub
@uiprompt("after childsub")
subroutine childsub
' Break out of child.prg here
@uiprompt("after breakout")
endsub