Errorlabel

JJM

Active Member
Licensed User
Longtime User
Hi,
I just bought Basic4PPC version 6.01 and I have an error in compilated program with Errorlabel.
When the program runs on device or on desktop the errorlabel catches the error but this same program when it's compilated the errorlabel has no function?
Why?
Thanks for your help.
Best regards

JJM
 

DieterR

Member
Licensed User
Longtime User
Errorlabel in v6.01

I had a similar error when I complied my application the first time with the new optimized compiler. The error was solved after I moved the jump address out of a nested structure (if ... else ...) to the end of the sub.:sign0060:
 

JJM

Active Member
Licensed User
Longtime User
About Errorlabel

Hi,
It's a solution but a function existes in Basic4PPC so I would like to use it.
Thanks
Best wishes for new year. :)

JJ M
 

derez

Expert
Licensed User
Longtime User
And form my experience with the new compiler - you cannot have the error label outside of the sub that declares it (the old compiler allows such jumps)
 
Top