Microsoft Store
 

Keyword (Computer)


 

In computer science, a keyword is an identifier which indicates a specific command. Many times the keyword is restricted to that core language usage, in which case it is also considered a reserved word. Some common keywords in many programming languages are: else, end, goto, if, print, return, switch, then, while, etc. There are usually restrictions about reusing keywords as names for user-defined objects such as variables or procedures, however some languages are extremely liberal in this approach (such as PostScript), allowing core keywords to be redefined for specific purposes. Languages vary as to what is provided as a keyword and what is a library routine, for example some languages provide keywords for input/output operations whereas in others these are library routines.

Related Topics:
Computer science - Identifier - Core language - Reserved word - Programming languages - Variable - Procedure - PostScript - Library routine

~ ~ ~ ~ ~ ~ ~ ~ ~ ~