6310.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 23 行

HTML
23
字号
<html>
  <head>
    <title>何不使用字串矩阵?</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>何不使用字串矩阵?</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:ml.peng@wsmc.com.tw">帅帅阿柳</a> on October 07, 1998 at 22:30:29:<p>
In Reply to: <a href="6286.html">Re: 看了所有的讨论, 还是莫宰羊---字串变数的????</a> posted by Jeremy Liang on October 07, 1998 at 01:13:01:<p>
Function test(test1() as string) as string<br>  Dim intCount as integer<br>  Dim strCombine as string<br>  for intcount=lbound(test1) to ubound(test1)<br>    strCombine=strCombine & test1(intCount)<br>  Next<br>  Test=strCombine<br>End Function<p>Form_Load()<p>Dim strTest(10) as string<br>strTest(0)="AAA"<br>strTest(1)="BBB"<br>strTest(2)="CCC"<br>...<br>Debug.print Test(strTest)<br>End Sub<p>这样也可以解决问题,是吧?!而且弹性更大哩!
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 6310-->
</ul><!--end: 6310-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?