Hi Rick,
I found multiple RETURNs inside a Try/Catch-Block. It runs into error 2060. Lineno is based on Web-Connection 8.5




Damn that's quite a few of them. I always forget that this doesn't work which is such a PITA especially since the compiler doesn't flag it. It makes sense that you can't return from a catch block but it's silly we can't return from a try block.
IAC, I've fixed all of these.
What are you using for your editor that is flagging these?
+++ Rick ---
The errors are reported by my own VScode extension. I will deploy it for free to our FoxPro community in future. The extension is in progress and I will implement more and more VFP functionality into it.
If you want, I can share the VSIX file for your personal use as early version. It will be helpful, because I can only check the extension on my code base. So you can report issues or ideas.
