EAGLE Help Light

Builtin Constants

Builtin constants are used to provide information about object parameters, such as maximum recommended name length, flags etc.

Many of the object types have their own Constants section which lists the builtin constants for that particular object (see e.g. UL_PIN).

The following builtin constants are defined in addition to the ones listed for the various object types:

EAGLE_VERSION EAGLE program version number (int)
EAGLE_RELEASE EAGLE program release number (int)
EAGLE_SIGNATURE a string containing EAGLE program name, version and copyright information
REAL_EPSILON the minimum positive real number such that r + REAL_EPSILON != r
REAL_MAX the largest possible real value
REAL_MIN the smallest possible (positive!) real value
the smallest representable number is -REAL_MAX
INT_MAX the largest possible int value
INT_MIN the smallest possible int value
PI the value of "pi" (3.14..., real)
usage a string containing the text from the #usage directive


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH