djw1999 发表于 2005-3-24 12:02:11

问题,紧急,,请各位帮忙

Result=SQAGetPropertyAsString("Type=HTMLTableCell;Index=54,"innerText",post)
其中Index=54的“54”,我能不能用变量代替,每次循环加1,如果可以怎么写??

pcl2004_27 发表于 2005-3-24 12:46:54

dim i as integer

for i=54 to 100
   Result = SQAGetPropertyAsString("Type=HTMLTableCell;Index=" + Trim(str(i)),"innerText",post)
Next i
页: [1]
查看完整版本: 问题,紧急,,请各位帮忙