Yes_no literal

Description

A yes_no literal has two possible values: yes and no.

Syntax

Table 4.7. Yes_no literal

ProductionSyntaxLinks
yes_no_literal"yes" | "no"the section called “Yes_no literal”

Examples

Example 4.12. Yes_no literals

yes
no

[Note]Note
yes_no literals are called boolean literals in some other programming languages, and their possible values are true and false or 1 and 0.