Forum Discussion
Robert_47833
Jun 18, 2012Altostratus
one question in variable
in the syntax ,we normally use :
if { $cjj == 1} {
xxxx
}
I have a question here
sometimes I forget to define this variable cjj,is there any method I can use to...
hooleylist
Jun 22, 2012Cirrostratus
Or you can use [info exists variable]:
if { [info exists cjj] and $cjj == 1} {
xxxx
}
http://www.tcl.tk/man/tcl8.4/TclCmd/info.htm
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects