发布于 2014-06-13 13:19:44
3楼
是的。这是把tag(4),text的内容赋值给变量D
vbs:
dim tag(5)
tag(0)=hmiruntime.tags("k1").read
tag(1)=hmiruntime.tags("k2").read
tag(2)=hmiruntime.tags("k3").read
tag(3)=hmiruntime.tags("k4").read
if tag(0) then
hmiruntime.tags("text").write “aa”
end if
if tag(1) then
hmiruntime.tags("text").write “bb”
end if
if tag(2) then
hmiruntime.tags("text").write “cc”
end if
if tag(3) then
hmiruntime.tags("text").write “dd”
end if
活到老,学到老!为了生活学习吧!