Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Erro compiling program CS0159


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-06-2008, 04:18 AM
Junior Member
 
Join Date: May 2007
Posts: 16
Default Erro compiling program CS0159

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
Reply With Quote
  #2 (permalink)  
Old 06-06-2008, 05:59 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,845
Default

Can you post your code or at least the problematic sub?
Reply With Quote
  #3 (permalink)  
Old 06-06-2008, 01:22 PM
Junior Member
 
Join Date: May 2007
Posts: 16
Default

Erel,

Don't know which sub causes the problem but here is teh file

Thkns

Arrie
Attached Files
File Type: zip EK2008_2.zip (13.8 KB, 1 views)
Reply With Quote
  #4 (permalink)  
Old 06-06-2008, 01:52 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,368
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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. Exceptions handling library
Reply With Quote
  #5 (permalink)  
Old 06-06-2008, 02:14 PM
Junior Member
 
Join Date: May 2007
Posts: 16
Default

Agraham,

It works, and thanks for the tip for the exceptions handling.

Kind regards,

Arrie
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling program Cerro41 Italian Forum 11 06-03-2008 08:09 AM
Compiling with old .NET Sta Questions & Help Needed 2 03-16-2008 07:07 PM
Compiling kavka Questions & Help Needed 6 10-17-2007 11:25 PM
Error compiling program in V5 (was OK in V4) dpriem Bug Reports 1 05-19-2007 06:16 AM


All times are GMT. The time now is 07:44 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0