Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Closed Issue: Code Analyst 1.0 Alpha [18934]

$
0
0
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.

Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>