2.1. Literal Value

A literal value may occur on its own as an expression. Execution of a literal value immediately publishes that value and then halts.

2.1.1. Syntax

[51]Literal::= SignalLiteral
BooleanLiteral
NumberLiteral
CharacterStringLiteral
null
 

2.1.2. Type

The type for each literal value is given in the Data Values chapter.

2.1.3. Examples

String Literal as Expression
{-
  https://en.wikipedia.org/wiki/The_Treachery_of_Images
-}

"ceci n'est pas une |"

{-
OUTPUT:
"ceci n'est pas une |"
-}

2.1.4. Related Links

Related Reference Topics

Related Tutorial Sections