【发布时间】:2019-04-16 15:05:42
【问题描述】:
我想测试一个tcl-matrix 对象是否存在。我该怎么做?
以下代码不起作用。
package require struct::matrix
# Test (now we expect 0)
info exists m
# Create the object
struct::matrix m
# Test again, now I expect 1, however it returns 0!!!
info exists m
【问题讨论】: