Top > OOobbs2 > 22
  • The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
  • Go to OOobbs2/22.

** [[OOobbs2/22]] [#ced58919]
-''サマリ'': ユーザ定義型の配列について
-''環境'': Basic
-''状態'': 未解決
-''投稿者'': [[じゃば]]
-''投稿日'': 2007-01-18 (木) 11:27:32

*** 質問 [#mc23990f]
 Type UserType
    wk1 As String
    wk2 As String
 End Type
 Sub Test
    Dim work(0) As UserType
    ReDim work(1) As UserType
    For i=LBound(work) to UBound(work)
      MsgBox i
 End Sub
どなたかご教示お願い致します。ちなみにReDim Preserveを用いると要素数は変更されます。
*** 回答 [#y1bcf633]


*** 感想,コメント,メモ [#e78d507c]


Reload   New Lower page making Edit Freeze Diff Upload Copy Rename   Front page List of pages Search Recent changes Backup   Help   RSS of recent changes