set_union! (public, deprecated)

 set_union! u-name v

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

Deprecated. Invoking this procedure generates a warning.

Computes the union of the set stored in the variable named $u-name in the calling environment and the set v, sets the variable named $u-name in the calling environment to that union, and also returns that union.

Parameters:
u-name (required)
v (required)

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc set_union!
    upvar $u-name u

    foreach ve $v {
        if { ![set_member? $u $ve] } {
            lappend u $ve
        }
    }

    return $u
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/deprecated-procs.xql

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