Re: Why do we have only costant value's or constant value expression in SWITCH statement
Quote:
Originally Posted by Speedo
Heh, well, unless you're going to directly write in machine code every language has to be interpreted at some point. ;)
Well, and even machine language is effectively interpreted, namely by the systems processor.
In principle you have two processes. One is compilation. It means a program (or code) written in one language is transformed into an equivalent program in another language (or code). No execution of code takes place.
The other process is interpretation. It's when the actual execution of a program (or code) takes place. It could take place in software or hardware. And the hardware is often just an interface for other layers of software.
So compilation means transformation and interpretation means execution.