Right; your formal subset of English has none of the semantic content of English.[url=http:/civis/viewtopic.php?p=26079337#p26079337:1bhd7xpa said:Gerry Rzeppa[/url]":1bhd7xpa]If you said that, the compiler would attempt to generate the appropriate machine code to take the "the screen's width" (an existing global variable) and divide it by "3 inches" (automatically converted to 'twips', the internal measure for screen coordinates), assigning the integer result to "the leftover space" in the appropriate unit of measure (assuming you had defined such a variable earlier). It would, however, have trouble with the "and a and a" in your sentence, and would position the caret on that line in your source file with a message like "I was expecting a noun right about here but I found 'and' ". Once you removed the redundant "and a" and re-compiled, it would do the above and then put the remainer of the division into a newly-created local variable called "the column count" (in the appropriate unit of measure).RAOF says: So if I write “Divide the screen's width by 3 inches giving the leftover space and a and a column count” I'll get incorrect answers, right?
But that's not actually engaging with my point - you're not writing a program in English, you're writing a program in a formal language where the keywords are English words. There are many well-formed English statements which are not well-formed statements in your NLPL, and statements which rely on the semantic content of English for correctness are (silently) not interpreted correctly.[url=http:/civis/viewtopic.php?p=26079337#p26079337:1bhd7xpa said:Gerry Rzeppa[/url]":1bhd7xpa]
My wife says things to me all the time that are "obvious and unambiguous" to her, but I often misunderstand and have to ask for clarification. That's the nature of natural languages. The fact that we could write such a large and complex program, conveniently and efficiently, in English, however, makes it obvious that such misunderstandings are not a problem in actual practice.RAOF says: The natural-language interpretation of that is obvious and unambiguous, but you get it exactly wrong.
Your compiler is not going to ask for clarification of “Divide the screen's width by 3 inches giving the leftover space and a column count”, but it's going to give the wrong result because your compiler is only aware of the syntactic content of that statement, not the semantics. This is roughly the reverse of what you want - I'd bet that you regularly make statements to your wife that aren't syntactically correct English but have clear semantic content, and she understands them fine.
The fact that you find it easy to write code in this language is not particularly surprising; you're clearly a competent programmer, and have thus already mastered what appears to be the hard part of programming - the complete and precise description required to get a dumb computer to do what you want.