hard-coded

(By analogy with a "hard-wired" function of an electronic circuit) Said of data or behaviour inserted directly into a program, where it cannot be easily modified, as opposed to data in some profile, resource (see de-rezz) or environment variable that a user can easily modify.

In C, this is especially applied to use of a literal instead of a "#define" macro.

See magic number.

(22 Feb 1995)