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
 problems with Function Try Blocks
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Babak
Junior Member

Germany
10 Posts

Posted - Jul 25 2006 :  11:12:24 AM  Show Profile  Reply with Quote
Hallo

if I use "Function Try Blocks" VAssist(10.1.1301.0) shows catch blocks as functions in the list of functions.

void f()
try{
    int i = 0;
}catch(...){
};

void g()
try{
    int i = 0;
}catch(...){
};

rhummer
Tomato Guru

USA
527 Posts

Posted - Jul 25 2006 :  11:23:32 AM  Show Profile  Reply with Quote
I don't quite follow the issue..

Is this an autotext? Is it one you have added? As looking through the list I don't see one called "Function Try Blocks"

Also you're build of Visual Assist is quite old, and there may be a possibility, assuming this is an autotext issue. That your issue has been resolved.

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jul 28 2006 :  03:09:07 AM  Show Profile  Reply with Quote
"Function Try Blocks" is a name for a try block between the function declaration and the opening brace of the function.

Interestingly, the sample code in MSDN for a function-try-block does not use the correct syntax (as defined in the standard). Not sure if VS really supports the feature or not.

Just tested, VS does support the feature.

1301 is the last version that someone can run without paying for a support upgrade.

This still happens in 1530, so I will open a case. Unfortunately, to get the fix, you will have to renew your support (unless you have support and you are at 1301 for some other reason).

case=1867

Joe Pizzi

Edited by - jpizzi on Jul 28 2006 03:10:06 AM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000