• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/tcl-102/tcl_ext/incrtcl/incrTcl/itcl/tests/

Lines Matching refs:variable

29         variable base {}
37 foreach v [info variable] {
53 variable defv "default"
54 public variable pubv "public" {set pubv "public: $pubv"}
55 protected variable prov "protected"
56 private variable priv "private"
65 variable uninitv
81 info variable ?name? ?-protection? ?-type? ?-name? ?-init? ?-value? ?-config?
94 info variable ?name? ?-protection? ?-type? ?-name? ?-init? ?-value? ?-config?
105 lsort [ti info variable]
109 ti info variable pubv
110 } {public variable ::test_info::pubv public {set pubv "public: $pubv"} new-public}
113 list [ti info variable pubv -protection] \
114 [ti info variable pubv -type] \
115 [ti info variable pubv -name] \
116 [ti info variable pubv -init] \
117 [ti info variable pubv -config] \
118 [ti info variable pubv -value] \
119 } {public variable ::test_info::pubv public {set pubv "public: $pubv"} new-public}
122 ti info variable prov
123 } {protected variable ::test_info::prov protected new-protected}
126 list [ti info variable prov -protection] \
127 [ti info variable prov -type] \
128 [ti info variable prov -name] \
129 [ti info variable prov -init] \
130 [ti info variable prov -value] \
131 } {protected variable ::test_info::prov protected new-protected}
134 ti info variable priv
135 } {private variable ::test_info::priv private new-private}
138 list [ti info variable priv -protection] \
139 [ti info variable priv -type] \
140 [ti info variable priv -name] \
141 [ti info variable priv -init] \
142 [ti info variable priv -value] \
143 } {private variable ::test_info::priv private new-private}
145 test info-2.5 {"this" variable is built in} {
146 ti info variable this
147 } {protected variable ::test_info::this ::ti ::ti}
150 list [ti info variable prov -config] [ti info variable priv -config]
154 ti info variable defv
155 } {protected variable ::test_info::defv default new-default}
158 ti info variable uninitv
159 } {protected variable ::test_info::uninitv <undefined> <undefined>}
162 ti info variable pubc
166 list [ti info variable pubc -protection] \
167 [ti info variable pubc -type] \
168 [ti info variable pubc -name] \
169 [ti info variable pubc -init] \
170 [ti info variable pubc -value] \
174 ti info variable proc
178 list [ti info variable proc -protection] \
179 [ti info variable proc -type] \
180 [ti info variable proc -name] \
181 [ti info variable proc -init] \
182 [ti info variable proc -value] \
186 ti info variable pric
190 list [ti info variable pric -protection] \
191 [ti info variable pric -type] \
192 [ti info variable pric -name] \
193 [ti info variable pric -init] \
194 [ti info variable pric -value] \
198 list [ti info variable pubc -config] \
199 [ti info variable proc -config] \
200 [ti info variable pric -config]
204 ti info variable defc
208 ti info variable uninitc
218 list [catch {ti info variable defv -xyzzy} msg] $msg