Tcl -- unset
来源:互联网 发布:智能语音翻译软件 编辑:程序博客网 时间:2024/06/06 01:17
1. Unset - Delete variables
unset用来删除变量
2. 语法
unset ?-nocomplain? ?--? ?name name name ...?
3. 说明
This command removes one or more variables.
这个命令用来删除一个或者多个变量。
Each name is a variable name, specified in any of the ways acceptable to the set command.
每一个名字都是变量名,通常是用set指定的。
If a name refers to an element of an array then that element is removed without affecting the rest of the array.
如果是一个数组元素,则只会删除该数组元素,不会删除其他的数组元素。
If a name consists of an array name with no parenthesized index, thenthe entire array is deleted.
但是如果是数组名,不带索引(下标),会删除整个数组。
The unset command returns an empty stringas result. 返回空字符串。
An error can occur when the named variable does not exist. 如果变量不存在会报错。
4. 举例
- Tcl -- unset
- tcl/tk参考——变量和过程unset
- unset
- TCL
- TCL
- Tcl
- null unset
- php unset
- unset 的另一种写法 unset( $wp_filter, $cache_lastcommentmodified );
- TCL: tcl小结
- is_null, empty, isset, unset
- session_unset() 与 unset() 区别
- unset() session_unset() session_destroy()
- unset() session_unset() session_destroy()
- 系统设置--unset
- 辨析session_unset()、session_destroy()、unset()
- shell脚本:unset
- 关于PHP的unset:
- (已翻译)caffe官方例程之hdf5_classification(Brewing Logistic Regression then Going Deeper)
- UVa 202 - Repeating Decimals(AC)
- Linux C高级编程——网络编程之包裹函数
- 俄罗斯方块游戏的控制面板和消息接收框界面的实现
- 跟我学AngularJs:AngularJs入门及第一个实例
- Tcl -- unset
- TCP三次握手与释放链接
- 《软件架构设计》学习笔记--8--6大步骤4:概念架构设计
- 关于集成支付宝SDK的开发
- 第四章项目5-递归求n的阶乘(1)
- Android 高质量高压缩比图像压缩
- C语言中自己写几个简单的库函数
- 百度地图error code:162
- 内边距