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. 2 4734
"JohnMSyras oft" <Jo***********@ discussions.mic rosoft.com> schrieb: 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.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
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
"JohnMSyras oft" <Jo***********@ discussions.mic rosoft.com> escribió en el
mensaje news:40******** *************** ***********@mic rosoft.com... 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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Uwe Ziegenhagen |
last post by:
Hello,
my fellows and me implement a c++ tool that is able to divide blank/tab
separated files into <number>, <text>, <c-singlelinecomment> and
<multilinecomment>. So far it's not working bad, we have just one
problem if I call the a.exe that gcc compiles with the following
textfile (./a.exe < test.txt) he does not match the multiline comments
correctly.
*test.txt contains:
|
by: David Elliott |
last post by:
I have an expression that works for single line but not multiline. What am I missing?
expression = "<div(?<data1>.*?)>(?<data2>.*?)</div>";
MatchCollection mc = Regex.Matches(data, expression,
RegexOptions.Multiline |
RegexOptions.IgnoreCase |
RegexOptions.IgnorePatternWhitespace);
Expression works if data looks like this:
|
by: Laser Lu |
last post by:
Hi, all,
I'm now writing a program to compress JavaScript code. One puzzle is how
to write a regular expression to find out and remove all the redundent blank
spaces. However, those blank spaces that are in the comments should be kept
intact.
I've tried to write some Regexs, and I list them here for your information:
regex = new Regex(@"/\**?\*/"); // pattern used to match a multiline
comment block
regex = new Regex(@"//*\n"); //...
|
by: Joel Finkel |
last post by:
Folks,
I have a form that has several TextBoxes, some of which have the TextMode set to MultiLine. Each is pre-loaded with data from a database. The user is allowed to modify each entry.
The problem is that only the modified data from the SingleLine TextBoxes are returned. The original data are returned for the MultiLine TextBoxes. Also, if the page is sent to the server (for validation, for instance), only the modified data for the...
|
by: the friendly display name |
last post by:
Hi,
I have a filled multiline textbox on the site. I can scroll it with IE and
Firefox, but under Opera (tested under 7.54, and Opera 8, under "identify as
MSIE" and under Opera identification) , I'm getting a strange behavior: When
I try to scroll, the text doesn't move. It only moves to a new position, if I
move the scroll marks, and then click on a empty place of the website.
There is nothing on the site, just the textbox.
| |
by: Edward Elliott |
last post by:
At the risk of flogging a dead horse, I'm wondering why Python doesn't have
any multiline comments. One can abuse triple-quotes for that purpose, but
that's obviously not what it's for and doesn't nest properly. ML has a
very elegant system for nested comments with (* and *).
Using an editor to throw #s in front of every line has limitations. Your
editor has to support it and you have to know how to use that feature. Not
exactly...
|
by: Phoe6 |
last post by:
Hi,
I have a configfile, in fact, I am providing a configfile in the
format:
Name: Foo
Author: Bar
Testcases:
tct123
|
by: Phoe6 |
last post by:
Hi,
Am starting a new thread as I fear the old thread which more than a
week old can go unnoticed.
Sorry for the multiple mails.
I took the approach of Subclassing ConfigParser to support multiline
values without leading white-spaces, but am struct at which position
in _read I should modify to accomodate the non-leading whitespace
based multiline values.
|
by: Nethra |
last post by:
Hi...
I am trying a program which convert the multiline comment type in a program to single line comment type
ie. /*have a
nice day */
to
//have a
//nice day
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |