when Code Analyst is selected from the menu (or issue another do command), and you select cancel from the file selection dialog, a program error is displayed...
Program Error
Unhandled Structured Exception.
ErrorNo: 1098
Message: Return/Retry statement not allowed in Try/Catch
i traced this down to the Analyze Procedure in main.prg
in the main try catch loop, the return statement in this section is causing the error:
tcFile = GETFILE("PRG;PJX;VCX;SCX","Select file","Open",1,"Select file to analyze")
IF EMPTY(tcFile)
RETURN
ENDIF
replacing the RETURN with EXIT works...
also, that getfile statement, cant see why the button type parameter would be 1, why would a NEW button even be applicatble here? just my thought.
Program Error
Unhandled Structured Exception.
ErrorNo: 1098
Message: Return/Retry statement not allowed in Try/Catch
i traced this down to the Analyze Procedure in main.prg
in the main try catch loop, the return statement in this section is causing the error:
tcFile = GETFILE("PRG;PJX;VCX;SCX","Select file","Open",1,"Select file to analyze")
IF EMPTY(tcFile)
RETURN
ENDIF
replacing the RETURN with EXIT works...
also, that getfile statement, cant see why the button type parameter would be 1, why would a NEW button even be applicatble here? just my thought.