Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Introduction to EEL
      Epsilon Extension Language Features
      EEL Tutorial
   Epsilon Extension Language
      . . .
      Order of Evaluation
      Expressions
      Constant Expressions
      Global Definitions
      Differences Between EEL And C
      . . .
   Primitives and EEL Subroutines
      Buffer Primitives
      Display Primitives
      File Primitives
      . . .
      Defining Language Modes
   . . .

Previous   Up    Next
Miscellaneous Operators  Epsilon Extension Language   Global Definitions


Epsilon User's Manual and Reference > Epsilon Extension Language >

Constant Expressions

A constant expression is an expression which does not contain certain things. It may not have references to variables, string constants, or function calls. No subexpressions may have a type of spot, structure, union, array, or pointer. It may have numeric constants, character constants, and any operators that act on them, and the sizeof operator may appear with any operand.

Additionally, for constant expressions in preprocessor lines, you can test if a macro m has been defined by writing defined(m). This expression evaluates to 1 if a macro by that name has been defined, 0 if not.

The term "the constant zero" means a constant expression whose value is zero, not necessarily a numeric constant.



Previous   Up    Next
Miscellaneous Operators  Epsilon Extension Language   Global Definitions


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.