PREV UP NEXT ANA

16.2: Read-Only Global Variables

The following variables offer certain physical and mathematical constants, and also some constants specific to ANA. These variables are read-only: They may be used in expressions, but cannot be changed. These variables are also global: They are recognized everywhere, including inside subroutines and functions.

  • #0 Zero
  • #1 One
  • #2PI Two pi
  • #42 The answer to Life, Universe, and Everything
  • #C Speed of light (cgs)
  • #CLASS ANA classes structure
  • #COL Number of columns on the terminal
  • #COORDSYS ANA coordinate systems structure
  • #DEG Degrees to radians
  • #D.R Degrees to radians
  • #E Base of natural logarithm
  • #EC Electron charge (cgs)
  • #EVENT ANA events structure
  • #FILETYPE Data file types
  • #G Gravitational constant (cgs)
  • #H Planck constant (cgs)
  • #HB Planck constant divided by pi (cgs)
  • #I Imaginary unit
  • #INFTY Infinity
  • #K Boltzmann constant (cgs)
  • #M Electron mass (cgs)
  • #MAX_ARGS Maximum number of arguments
  • #MAX_BYTE Greatest value possible in a BYTE
  • #MAX_DIMS Maximum allowed number of array dimensions
  • #MAX_DOUBLE Greatest value possible in a DOUBLE
  • #MAX_FLOAT Greatest value possible in a FLOAT
  • #MAX_LONG Greatest value possible in a LONG
  • #MAX_PIXMAP Greatest pixmap number
  • #MAX_WINDOW Greatest window number
  • #MAX_WORD Greatest value possible in an INT
  • #MIN_DOUBLE Smallest nonzero value possible in a DOUBLE
  • #MIN_FLOAT Smallest nonzero value possible in a FLOAT
  • #MIN_LONG Most negative value possible in a LONG
  • #MIN_WORD Most negative value possible in an INT
  • #MINUS1 Minus one
  • #MSBFIRST Byte order
  • #PI Pi
  • #P3D Projection matrix
  • #R Gas constant (cgs)
  • #R.D Radians to degrees
  • #RAD Radians to degrees
  • #ROW Number of lines on the terminal
  • #STACK User stack
  • #TYPE ANA data types
  • #TYPESIZE Sizes of data types
  • #ZERO System zero (don't use)