• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Literal

 
Aruna Balasuriya
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is meant by a literal?
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A value you write in the code yourself. So "Literal" is a String literal, 123 and 1.23E45 are both numeric literals and 'z' and '@' are both character literals.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic