procedure clip

See documentation for the function of the same name. The reason to supply this also as a procedure is that it can be used without creating a temporary copy of the argument in memory. X must be a named variable.

Syntax
clip X, low, high [, value]

See also
function clip