stuncloud
5/12/2014 - 5:21 AM

for inいい…

for inいい…

// 配列
for n in split("aaa bbb ccc ddd eee")
    print n
next

// コレクション
fso = createoleobj("Scripting.FileSystemObject")
for f in fso.GetFolder("C:\Windows").Files
    print f.name
next

// 特定の関数
for id in getallwin()
    print status(id, ST_TITLE)
next

// 連想配列
hashtbl hash
hash["a"] = "aaaa"
hash["b"] = "bbbb"
hash["c"] = "cccc"

for key in hash
    print "hash[" + key + "] = " + hash[key]
next

// 文字列
for c in "abcde"
    print c
next