In programming, any data written into the program that remains unchanged when translated into machine language. Examples are values used for calculations as well as text messages displayed on screen. In the following lines of code, the literals are
1 and
the value is one. See
string literal and
numeric literal.
if x = 1
print "the value is one"
endif