exists_and_not_null (public, deprecated)

 exists_and_not_null varname

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

Deprecated. Invoking this procedure generates a warning.

Returns 1 if the variable name exists in the caller's environment and is not the empty string. Note you should enter the variable name, and not the variable value (varname not $varname which will pass variable varnames value into this function). DEPRECATED: the value provided by this proc is arguable, as it can be replaced by a plain tcl oneliner.

Parameters:
varname (required)
See Also:
  • plain tcl idioms

Partial Call Graph (max 5 caller/called nodes):
packages/acs-tcl/lib/build-repository.tcl packages/acs-tcl/ lib/build-repository.tcl exists_and_not_null exists_and_not_null packages/acs-tcl/lib/build-repository.tcl->exists_and_not_null packages/bug-tracker/www/admin/distro-edit.tcl packages/bug-tracker/ www/admin/distro-edit.tcl packages/bug-tracker/www/admin/distro-edit.tcl->exists_and_not_null ad_log_deprecated ad_log_deprecated (public) exists_and_not_null->ad_log_deprecated

Testcases:
No testcase defined.
[ show source ]
Show another procedure: