>>>1) Often you only get an error message at runtime. It helps to develop better programs if errors appear already when you compile a program.
>>
>>Can you provide an example?
>
>Access any un-initialized variable, e.g.:
>
>
>x = y
>
>
>If you didn't declare "y" previously, a compiler would protest at compile-time.
That's not interpreted. Under a language that allows strict typing, the compiler would complain. VB allows both.
>
>>Even "real" compilers have to look up the variable.
>
>I understand that a compiler would convert a variable reference, like "x" or "y", to the address (number) in RAM. No lookup is done at runtime.
Yes, it is. It still has to lookup the address.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer