Scripts 学盟

标题: vbscript中用for next加文本符号划倒金字塔 dim a for i=1 to 7 a=a+"■" response. [打印本页]

作者: 匿名    时间: 2013-6-15 11:17:14     标题: vbscript中用for next加文本符号划倒金字塔 dim a for i=1 to 7 a=a+"■" response.

vbscript中用for next加文本符号划倒金字塔dim afor i=1 to 7a=a+"■"response.Write(a)response.Write("")next正的是这样写,倒的代码怎么写?
作者: 混混@普宁.中国    时间: 2013-6-15 18:27:30

Dim a

For i=1 To 7
        a= String(8-i, "■")
        Response.Write(a & vbCrLf)
Next




欢迎光临 Scripts 学盟 (http://www.iscripts.org/) Powered by Discuz! X2