Semantics is the study of the meanings of words. As applied to computer languages, semantics governs the basic rules of the language. For example, a reserved word, such as DISPLAY or LIST, should not be used as the name of a data file or field so that you do not wind up with LIST LIST. Contrast with syntax, which deals with the correct order or symbols used in combining words in a command phrase.
No comments:
Post a Comment