Expressions in debugger commands
A limited expression syntax can be used in debugger commands.
Some debugger commands such as display take an expression as argument. The Genero debugger supports a reduced syntax for command expressions described in this section. For a detailed description of comparison operators, constant values and operands, see Expressions.
Syntax
variable
| char-const
| int-const
| dec-const
| NULL
| TRUE
| FALSE
| expression IS [NOT] NULL
| expression = expression
| expression == expression
| expression <= expression
| expression => expression
| expression < expression
| expression > expression
| expression + expression
| expression - expression
| expression * expression
| expression / expression
| expression OR expression
| expression AND expression
| NOT expression
| - expression
| ( expression )
Note:
- variable is a program variable name.
- char-const is character string literal delimited by single or double quotes.
- int-const is an integer literal.
- dec-const is a decimal number literal.
- expression is a combination of one or more listed syntax elements.
Example
(fgldb) display a + 1000
1: a = 1140.50