Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lemonskunnk

Pages: [1]
1
QB64 Discussion / Re: "On Error" - Common Label within a SUB/FUNCTION...
« on: January 31, 2020, 04:07:48 pm »
Thanks for all the input. I was unaware that the error traps must all the concentrated in one Module - the program is coming from the original quick basic and it uses "ON LOCAL ERROR GOTO X" so there are 10's of error traps all throughout all modules and subs.

Anyway, I will make a concentrated error trap that handles all error cases for the whole module and let you know how it goes!

Thanks,
Dan

2
QB64 Discussion / "On Error" - Common Label within a SUB/FUNCTION...
« on: January 31, 2020, 12:57:03 pm »
Hello all,

I'm new to the QB64 world and am working to move an older quickbasic program to QB64 (As I imagine most here are...)
Anyway, the error that is impeding my ability to complete the conversion is "Common Label within a SUB/FUNCTION on XX Line" which is occurring on ALL  "ON ERROR GOTO X" statements. The error occurs with both text and numbered goto's.

I'm sure some more contextual information will be helpful - whatever you need, just ask.

Any help would be greatly appreciated.

Thanks,
Dan





Pages: [1]