ad_call_proc_if_exists (public, deprecated)

 ad_call_proc_if_exists proc [ args... ]

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

Deprecated. Invoking this procedure generates a warning.

Calls a procedure with particular arguments, only if the procedure is defined. Deprecated: very simple tcl commands idioms can replace this proc

Parameters:
proc (required)
See Also:
  • "info commands" based idioms

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc ad_call_proc_if_exists
    if { [namespace which $proc] ne "" } {
        $proc {*}$args
    }
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

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