spec

Software for Diffraction

constant

define a constant global symbol

SYNOPSIS

constant symbol value

DESCRIPTION

The constant command creates (or modifies the value of an existing) global variable. The value of a constant global variable cannot be changed by ordinary assignment. An attempt to so results in an error.

The purpose of the constant variable type is to prevent accidental or casual modification of important parameters.

EXAMPLE

constant EPOCH time()

SEE ALSO

global syms