next up previous contents index
Next: HTML Forms and Scripts Up: The Xic Scripting Language Previous: Static and Global Variables   Contents   Index

Predefined Constants

The following constants are recognized by name:
e Natural log base
pi 3.14159...
PI 3.14159...
NULL 0
INFINITY Maximum extent of object coordinate field
TRUE 1
FALSE 0
EOF -1
CHARGE 1.60217646e-19
CTOK 273.15
BOLTZ 1.3806226e-23
ROOT2 square root of 2

The value of INFINITY is the internally assumed absolute limit for valid coordinates, in microns. This is 1e9 divided by the database resolution, which is the value of the DatabaseResolution variable if set, or the default of 1000.



Stephen R. Whiteley 2024-09-29