URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [unset.n] - Blame information for rev 1765
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1993 The Regents of the University of California.
|
3 |
|
|
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
|
4 |
|
|
'\"
|
5 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
6 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
7 |
|
|
'\"
|
8 |
|
|
'\" RCS: @(#) $Id: unset.n,v 1.1.1.1 2002-01-16 10:25:25 markom Exp $
|
9 |
|
|
'\"
|
10 |
|
|
.so man.macros
|
11 |
|
|
.TH unset n "" Tcl "Tcl Built-In Commands"
|
12 |
|
|
.BS
|
13 |
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
14 |
|
|
.SH NAME
|
15 |
|
|
unset \- Delete variables
|
16 |
|
|
.SH SYNOPSIS
|
17 |
|
|
\fBunset \fIname \fR?\fIname name ...\fR?
|
18 |
|
|
.BE
|
19 |
|
|
|
20 |
|
|
.SH DESCRIPTION
|
21 |
|
|
.PP
|
22 |
|
|
This command removes one or more variables.
|
23 |
|
|
Each \fIname\fR is a variable name, specified in any of the
|
24 |
|
|
ways acceptable to the \fBset\fR command.
|
25 |
|
|
If a \fIname\fR refers to an element of an array then that
|
26 |
|
|
element is removed without affecting the rest of the array.
|
27 |
|
|
If a \fIname\fR consists of an array name with no parenthesized
|
28 |
|
|
index, then the entire array is deleted.
|
29 |
|
|
The \fBunset\fR command returns an empty string as result.
|
30 |
|
|
An error occurs if any of the variables doesn't exist, and any variables
|
31 |
|
|
after the non-existent one are not deleted.
|
32 |
|
|
|
33 |
|
|
.SH KEYWORDS
|
34 |
|
|
remove, variable
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.