literal

literal definition - computer

In programming, any data typed in by the programmer that remains unchanged when translated into machine language. Examples are a constant value used for calculation purposes as well as text messages displayed on screen. In the following lines of code, the literals are 1 and VALUE IS ONE.

     if x = 1
       print "the value is one"
     endif





Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.