Semantic-error meaning

Writing invalid program logic that produces incorrect results when the instructions are executed. The syntax of the source code may be valid, but the algorithm being employed is not. A semantic error is also called a "logic error;" however, some programmers believe a logic error produces erroneous data, whereas a semantic error yields nothing meaningful at all. Or, perhaps "it's just semantics!" See semantics, semantic attack and syntax error.