在线咨询 切换到宽版
eetop公众号 创芯大讲堂 创芯人才网

 找回密码
 注册

手机号码,快捷登录

手机号码,快捷登录

搜全文
查看: 1446|回复: 2

[求助] 想问一下array语法

[复制链接]
发表于 2021-4-15 10:18:23 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
foreach p [array name tluplus_file] {
        puts "RM-info: read_parasitic_tech -tlup $tluplus_file($p) -layermap $layer_map_file($p) -name $p"
        read_parasitic_tech -tlup $tluplus_file($p) -layermap $layer_map_file($p) -name $p
}
一直弄不懂array的作用意思

发表于 2021-4-15 10:27:11 | 显示全部楼层
查perl更全,见Perl 语言编程
回复 支持 反对

使用道具 举报

发表于 2021-4-15 15:34:52 | 显示全部楼层
tcl的 array命令;
The list of indices returned by the array names command can be used to iterate through the
content of an array.
Syntax: array names arrayName ?pattern?
Returns a list of the indices used in this array.
arrayName The name of the array.
pattern If this option is present, array names will return only
indices that match the pattern. Otherwise, array names
returns all the array indices.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 ) |网站地图

GMT+8, 2025-11-3 21:23 , Processed in 0.015761 second(s), 4 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表