$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
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
mail routing
macros