Will the code be compiled while I write the code

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I just wonder if the code is compiled behind the scene while I write the
code
because it will find errors if there is some.

Or is it just part of a compilation.

//Tony
 
Tony said:
I just wonder if the code is compiled behind the scene while I write the
code
because it will find errors if there is some.

Or is it just part of a compilation.

VS does not really compile, but it do know about valid syntax.

Arne
 
You're confusing "compiled" with "parsed"...

As you type, the code is continually parsed to check for common errors e.g.
syntax, missing variable declaration etc.

It should be noted that full checking (equivalent to that done by a
compiler) is only done in VS2008 SP1. Prior to that, you could easily
write some invalid code that wouldn't be highlighted.
 
Back
Top