Literal
58pages on
this wiki
this wiki
A literal is a value that is hard-coded into a source file. These are, more often than not, initial values of variables.
Types
Edit
Null
Edit
A null value can have only one value, and represents that a slot in memory has no usable value.
Boolean
Edit
A Boolean value represents one of two values.
Number
Edit
A number is a representation of any real number.
Character
Edit
A character represents any one of the 65535 UTF-8 characters.
String
Edit
"String" is the term used for an array of characters representing plaintext, such as a word or sentence.