Next: Read-Write Global Vars, Previous: Packages, Up: Reference Manual [Contents][Index]
The following variables offer certain physical and mathematical constants, and also some constants specific to LUX. 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: | LUX classes structure | |
• #col: | Number of columns on the terminal | |
• #coordsys: | LUX coordinate systems structure | |
• #deg: | Degrees to radians | |
• #d.r: | Degrees to radians | |
• #e: | Base of natural logarithm | |
• #ec: | Electron charge (cgs) | |
• #event: | LUX 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_int64: | ||
• #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_int64: | ||
• #min_long: | Most negative value possible in a LONG | |
• #min_word: | Most negative value possible in an INT | |
• #minus1: | Minus one | |
• #msbfirst: | Byte order | |
• #nan: | Not a Number | |
• #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: | LUX data types | |
• #typesize: | Sizes of data types | |
• #zero: | System zero (don’t use) |
Next: Read-Write Global Vars, Previous: Packages, Up: Reference Manual [Contents][Index]