LogicalConstant¶
Logical literal constant, an expr
node.
Declaration¶
Sintaxe¶
LogicalConstant(bool value, ttype type)
Argumentos¶
Argument Name |
Argument Description |
---|---|
|
value of boolean |
|
tabel entry type |
Valores de retorno¶
The return value is the expression that the LogicalConstant represents.
Descrição¶
LogicalConstant represents logical constant, is either logical value true
or false. The only logical constants are .TRUE
and .FALSE
. The period
delimiters are necessary.
The value must be in the uses 4 bytes of storage.
Tipos¶
Only accepts TRUE or FAlSe values.
Exemplos¶
.TRUE.
.FALSE.
ASR:
(TranslationUnit
(SymbolTable
1
{
})
[(LogicalConstant
.true.
(Logical 4 [])
)
(LogicalConstant
.false.
(Logical 4 [])
)]
)