Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlining question #region does not work in sub/function.

Status
Not open for further replies.

Sorwen

Technical User
Nov 30, 2002
1,641
US
I've know for a while that #region wouldn't work and it hasn't really mattered to this point. Now though I have a base project I (and later others) use as a sort of template. I want to collapse code sections of code in subs and functions that shouldn't need changes into region-like blocks so that it can easily be ignored when no changes need to be made to that part of the code. I don't however want to seperate these into their own sub/function to do this as I have these broken down enough as it is. Is there anything I can use to do this?

-I hate Microsoft!
-Forever and always forward.
 
Thanks. I'll have to look at that.

-I hate Microsoft!
-Forever and always forward.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top