$err()
DESCRIPTION
returns the error condition string "<<ERR>>"
SYNOPSIS
$err()
ARGUMENTS
none
EXAMPLES
# pikt +C 'output $err()'
<<ERR>>
# pikt +C 'output $dayname(0)'
Jun 25 05:17:50 hamburg pikt[14073]: [ID 7202 ERROR] (../../../src/piktd/expr.y, line 3047,
exprparse()) in $dayname(), , non-integer or out-of-bounds argument: 0.000000
<<ERR>>
# pikt +C 'output $dayname(0)' 2>/dev/null
<<ERR>>
# pikt +C 'output $dayname(1)'
Sunday
rule
if $dayname(#dn) ne $err()
set $dn = $dayname(#dn)
fi
SEE ALSO
$nil()
String Functions
Numerical Functions