exists_or_null (public, deprecated)

 exists_or_null varname

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Returns the contents of the variable if it exists, otherwise returns empty string

Parameters:
varname (required)

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc exists_or_null
    upvar 1 $varname var
    if {[info exists var]} {
        return $var
    }
    return ""
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: