📄 5352.html
字号:
<html>
<head>
<title>★请问『自订型态之巢状阵列』的 ReDim 问题</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>★请问『自订型态之巢状阵列』的 ReDim 问题</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:harman@iis.sinica.edu.tw">Haha</a> on September 07, 1998 at 13:50:16:<p>
请问各位, 在自订型态之中使用巢状阵列时, 该如何ReDim ?<br>例如:<br>Type typeA<br> numA as integer<br>end type<br>Type typeB<br> numB as integer<br> pA() as typeA '不定长度的 typeA 型态之阵列<br>end type<br>Type typeC<br> numC as integer<br> pB() as typeB '不定长度的 typeB 型态之阵列<br>end type<p>dim testC as typeC<br>ReDim testC.pB( 5 ) '开始有错误<br>ReDim testC.pB(2).pA(10) '原本要这样写<br>------------------------------<br>OnLie Help 上说, 只能 ReDim 巢状结构中最外层的 Array<br>如 ReDim aaa(3, 4, 5)<br>但又没有使用于自订型态中类似的例子<br>请问可否帮忙解决此问题 ...<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 5352-->
<!--top: 5377--><li><a href="5377.html">ReDim 后面要加型别</a> <b>小吴</b> <i>08:11:27 9/08/98</i>
(<!--responses: 5377-->1)
<ul><!--insert: 5377-->
<!--top: 5387--><li><a href="5387.html">Re: ReDim 后面要加型别</a> <b>Haha</b> <i>15:12:05 9/08/98</i>
(<!--responses: 5387-->0)
<ul><!--insert: 5387-->
</ul><!--end: 5387-->
</ul><!--end: 5377-->
</ul><!--end: 5352-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -