2014.06.28 12:19
every r-value is a valid statement in some languages, but not in others

In some languages, every valid r-value is a valid statement. For example, in PHP, a program containing the following code:
<? 3 * 7; ?>
is valid. But in other languages, it is not. For example, in Java, including the following line in a program:
3 * 7;
causes a compilation error. And in JavaScript, it is an error to include a line like this:
function () {};

comments:

nickname:

enter digit "four": (this is a spam protection)

offensive comments or those I don't like will be deleted


back to homepage

RSS