Expressions 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:
  1. variable is a program variable name.
  2. char-const is character string literal delimited by single or double quotes.
  3. int-const is an integer literal.
  4. dec-const is a decimal number literal.
  5. expression is a combination of one or more listed syntax elements.

Example

(fgldb) display a + 1000 
1: a = 1140.50