Keyword (computer programming): Difference between revisions

Content deleted Content added
Zron (talk | contribs)
In some languages keywords must be stropped
Zron (talk | contribs)
Mention ALGOL as language with keyword stropping
Line 4:
In many languages, such as [[C (programming language)|C]] and similar environments like [[C++]], a ''keyword'' is a [[reserved word]] which identifies a syntactic form. Words used in [[control flow]] constructs, such as <tt>if</tt>, <code>then</code>, and <code>else</code> are keywords. In these languages, keywords cannot also be used as the names of variables or functions.
 
In some languages, such as [[ALGOL]], keywords cannot be written verbatim, but must be [[Stropping (syntax)|stropped]].
 
Some languages, such as [[PostScript]], are extremely liberal in this approach, allowing core keywords to be redefined for specific purposes.