A Arrie Member Licensed User Longtime User Jun 6, 2008 #1 Hi All, Just finished a program for euro2008, but i get an error CS0159 "no label s1 in a go-to statement" but in my code is no go-to statement. i'm using ver. 6.30 and .net 2.0.50727.832. and optimized compilation. Any ideas? Thanks Arrie
Hi All, Just finished a program for euro2008, but i get an error CS0159 "no label s1 in a go-to statement" but in my code is no go-to statement. i'm using ver. 6.30 and .net 2.0.50727.832. and optimized compilation. Any ideas? Thanks Arrie
Erel B4X founder Staff member Licensed User Longtime User Jun 6, 2008 #2 Can you post your code or at least the problematic sub?
A Arrie Member Licensed User Longtime User Jun 6, 2008 #3 Erel, Don't know which sub causes the problem but here is teh file Thkns Arrie
agraham Expert Licensed User Longtime User Jun 6, 2008 #4 The problem is in Sub encrypten. It is a scoping problem as you have used the destination for Errorlabels within loops. This is not recommended practice. See the help manual for my Exceptions library for a description. http://www.b4x.com/forum/additional-libraries/2305-exceptions-handling-library.html
The problem is in Sub encrypten. It is a scoping problem as you have used the destination for Errorlabels within loops. This is not recommended practice. See the help manual for my Exceptions library for a description. http://www.b4x.com/forum/additional-libraries/2305-exceptions-handling-library.html
A Arrie Member Licensed User Longtime User Jun 6, 2008 #5 Agraham, It works, and thanks for the tip for the exceptions handling. Kind regards, Arrie