$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 2008-09-06.   This site is PIKT® powered.
PIKT® is a registered trademark of the University of Chicago.   Copyright © 1998-2008 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
network
service test
macros