nstcl  >  Documentation  >  nstcl-misc  >  set_intersection!

Tcl Powered!

set_intersection!

NAME

set_intersection! — Compute and update the intersection of two sets

SYNOPSIS

package require nstcl-misc ?1.0?
package require nstcl ?1.0?

::nstcl::set_intersection! set_name set

DESCRIPTION

Computes the intersection of the set stored in the variable named set_name in the calling environment and the set set, sets the variable named set_name in the calling environment to that intersection, and also returns that intersection.

KEYWORDS

misc, nstcl