[VBScript]配列の値を変更するサンプル
使用例
Dim cft cft = Array("A001", "B002", "C003","D004") cft(2) = "kkkk" WScript.Echo cft(0) WScript.Echo cft(1) WScript.Echo cft(2) WScript.Echo cft(3)
結果
A001 B002 kkkk D004
Coding Changes the World
使用例
Dim cft cft = Array("A001", "B002", "C003","D004") cft(2) = "kkkk" WScript.Echo cft(0) WScript.Echo cft(1) WScript.Echo cft(2) WScript.Echo cft(3)
結果
A001 B002 kkkk D004