Isn't that a convention in C and/or C++ for system variables or something like that? It is a long time ago but I seem to have some recollection of that. Dale Leavens, Cochrane Ontario Canada DLeavens@xxxxxxx Come and meet Aurora, Nakita and Nanook at our polar bear habitat. ----- Original Message ----- From: "David Lant" <david.lant1@xxxxxxxxxxxxxx> To: <program-l@xxxxxxxxxxxxx> Sent: Friday, September 23, 2005 7:44 AM Subject: [program-l] Re: vb: shaky editor Hi Mark, I must say, I very frequently see online code samples where the variable names begin with the underscore character. I've never quite worked out why this should be a popular naming convention. But equally, as I've never tried emulating it, I've not encountered the problem Che is reporting either. Maybe I'll see what happens in VS.NET 2003. All the best, David -----Original Message----- From: Mark Long [mailto:program-l-bounce@xxxxxxxxxxxxx] On Behalf Of Mark Long Sent: 22 September 2005 11:46 To: program-l@xxxxxxxxxxxxx Subject: RE: [program-l] vb: shaky editor Are you sure that it isn't an underline and a space at the end of a line? That would be a line continuation character. _____ From: program-l-bounce@xxxxxxxxxxxxx on behalf of Che Sent: Thu 22/09/2005 23:23 To: program-l@xxxxxxxxxxxxx Subject: [program-l] vb: shaky editor I am working on a tutorial and putting in the code line for line as they have it listed. They have a variable name that starts with an underline: Code snippet: Private _dev As Device _dev = New Device end snippet. When I move off this line, I get an error saying declaration expected that is pointing to the line _dev = New device When I go through the line character by character, it is not showing me the underline before the dev in the editor. If I add an underline, it is still not showing it in the editor, and as soon as I arrow off the line, I get the same error. Is this just a jaws bug? Is there a way to verify that the underline is there? Why would I be getting an undeclared variable error when it looks like I have just declared the variable? I am copying this code line for line from the online tutorial, and it is coded for vb .net 2005 express beta, which is what I am using. Finally, how do I turn off this annoying error box that pops up everytime I try to edit my code? As it stands, I have to alt f4 it away, then f7 back to my form and arrow down to the line I need to edit. Gotta be a better way, eh? Much thanks, Che ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.4/109 - Release Date: 9/21/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.4/109 - Release Date: 9/21/2005 ** To leave the list, click on the immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe] ** If this link doesn't work then send a message to: ** program-l-request@xxxxxxxxxxxxx ** and in the Subject line type ** unsubscribe ** For other list commands such as vacation mode, click on the ** immediately-following link:- ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq] ** or send a message, to ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq