Language Concepts
Syntax: correct form for statements (way characters and symbols are combined together to give the proper grammar)
Example of syntax error:
- result = amount . (amount 8 discount);
- compiler reports “expression syntax” error
- use help facility to get more details
Semantics: meaning given to statements
- result = amount + discount (need to test ...)