VB 實(shí)例 Array 數(shù)組

vb 實(shí)例

 array 數(shù)組

@code
dim members as string()={"jani","hege","kai","jim"}
i=array.indexof(members,"kai")+1
len=members.length
x=members(2-1)
end code
<html>
<body>
<h3>members</h3>
@for each person in members
    @<p>@person</p>
next person

<p>the number of names in members are @len</p>
<p>the person at position 2 is @x</p>
<p>kai is now in position @i</p>

</body>
</html>

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频