Multiline comment behavior in VS2005 VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, wondering if I'm missing something before I log a minor bug to the VS2005
feedback page.
In VB6, you could span multiple lines with comments by using a line
continuation character as in

'this is the beginning of my _
comment which continues down to this line

In VS05, the 2nd line doesn't appear commented unless the apostrophe is
explicitly included.

In other language syntax, there is support for multiline comments. Did they
change this in VS05 that I'm not aware of? Thanks.
 
JohnMSyrasoft said:
wondering if I'm missing something before I log a minor bug to the VS2005
feedback page.
In VB6, you could span multiple lines with comments by using a line
continuation character as in

'this is the beginning of my _
comment which continues down to this line

In VS05, the 2nd line doesn't appear commented unless the apostrophe is
explicitly included.

You are right, comments cannot continued using '_' in VB.NET. VB does not
support block comments with start/end marks.
 
That also happened in VB.NET 2002 if I remember correctly, but I am not sure
if it is a bug or a "by design" decission.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top