Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Missing break in C# code template
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Andrei
Junior Member

10 Posts

Posted - Aug 25 2005 :  02:33:29 AM  Show Profile
Hello !
In default code template for c#

switch:
switch(-?) {
case :
break;
default:
}
you are missing last break:

switch:
switch(-?) {
case :
break;
default:
break;
}

If you use your original - compiler shows an error
C:\\Temp\\WindowsApplication5\\WindowsApplication5\\DataForm1.cs(1739): Control cannot fall through from one case label ('default:') to another

bugfix
Tomato Guru

Germany
324 Posts

Posted - Aug 25 2005 :  07:09:36 AM  Show Profile
As a workaround you can fix it yourself by adjusting vax options->autotext/templates->c#/css.

http://www.mf-sd.de
Go to Top of Page

Andrei
Junior Member

10 Posts

Posted - Aug 25 2005 :  07:20:42 AM  Show Profile
quote:
Originally posted by bugfix

As a workaround you can fix it yourself by adjusting vax options->autotext/templates->c#/css.



Thanks, that's clear. I just wrote it for you - for future releases.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Aug 25 2005 :  4:23:16 PM  Show Profile
noted should be fixed soon.

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Aug 25 2005 :  7:13:11 PM  Show Profile
indeed...
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000