#nil()

DESCRIPTION
    returns the null value NIL
SYNOPSIS
    #nil()
ARGUMENTS
    none
EXAMPLES
        rule
                if #pid($pr1) == #nil()
                        set #norun = #true()
                        set $state = "-"
                endif
        begin
                // check pid's
                if #pid("piktc_svc") == #nil()
                        output mail "piktc_svc not running!"
                fi
                if #pid("piktc_svc") == #err()
                        output mail "multiple piktc_svc running!"
                fi
                if #pid("piktd") == #nil()
                        output mail "piktd not running!"
                fi
                if #pid("piktd") == #err()
                        output mail "multiple piktd running!"
                fi
SEE ALSO
    #defined()
    #err()
    #error()

    Numerical Functions
    String 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
crontab changes
Pikt script