]> git.zerfleddert.de Git - micropolis/blame_incremental - src/tclx/tclsrc/assign.tcl
src/tclx/src/tclxgdat.y: Micropolis build fixes for recent macOS
[micropolis] / src / tclx / tclsrc / assign.tcl
... / ...
CommitLineData
1#
2# asgnfields.tcl --
3#
4# Procedure to assign list fields to variables.
5#------------------------------------------------------------------------------
6# Copyright 1992 Karl Lehenbauer and Mark Diekhans.
7#
8# Permission to use, copy, modify, and distribute this software and its
9# documentation for any purpose and without fee is hereby granted, provided
10# that the above copyright notice appear in all copies. Karl Lehenbauer and
11# Mark Diekhans make no representations about the suitability of this
12# software for any purpose. It is provided "as is" without express or
13# implied warranty.
14#------------------------------------------------------------------------------
15# $Id: asgnfields.tcl,v 2.0 1992/10/16 04:51:55 markd Rel $
16#------------------------------------------------------------------------------
17#
18
19#@package: TclX-assign_fields assign_fields
20
21proc assign_fields {list args} {
22 foreach varName $args {
23 set value [lvarpop list]
24 uplevel "set $varName [list $value]"
25 }
26}
Impressum, Datenschutz