Geeks Talk

Prepare for your Next Interview




VB.net code question

This is a discussion on VB.net code question within the VB.NET forums, part of the Software Development category; Since the VB.net code is compiled,then why does a green squiggly line appear below a wrong line of code the very moment the cursor is moved away from ...


Go Back   Geeks Talk > Software Development > VB.NET

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-28-2007
Junior Member
 
Join Date: May 2007
Location: India
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Aaliyaa is on a distinguished road
VB.net code question

Since the VB.net code is compiled,then why does a green squiggly line appear below a wrong line of code the very moment the cursor is moved away from it after writing?As in C++,when we use a variable without declaring it,we get to know the error only after giving the compile command.But in VB.net,the variable is underlined with a green line as soon as the cursor is moved away from it.Shouldn't this be seen only if the code was 'interpreted' and not 'compiled'??
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-04-2007
Junior Member
 
Join Date: Feb 2006
Posts: 8
Thanks: 0
Thanked 3 Times in 2 Posts
mef526 is on a distinguished road
Re: VB.net code question

The just in time compiler does a compile as the code is written and can identify errors before a compile is done at the project level. The project level compile is faster because much of the code is already compiled.
Reply With Quote
Reply

  Geeks Talk > Software Development > VB.NET


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Try finding the code christia Brainteasers 2 04-09-2007 07:36 PM
Can you find the code blenda Brainteasers 6 02-09-2007 07:04 AM
Can we modify this IL code JobHelper C# 4 02-09-2007 07:01 AM
Find the code sripri Brainteasers 4 09-04-2006 04:17 AM
Code Reviews and PMD Lokesh M Other Languages 0 07-03-2006 10:03 AM


All times are GMT -4. The time now is 01:36 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved