C
Charles Law
Does anyone know if it is possible to initialise a structure array at
run-time, something like this:
<code>
Structure struct
Dim a As String
Dim b As Integer
Dim c As [Delegate]
End Structure
....
Dim st() As struct = {"1", 2, AddressOf Foo1}, _
{"2", 2, AddressOf Foo2}
</code>
I realise that this syntax is incorrect, but is there a syntax for this type
of initialisation?
TIA
Charles
run-time, something like this:
<code>
Structure struct
Dim a As String
Dim b As Integer
Dim c As [Delegate]
End Structure
....
Dim st() As struct = {"1", 2, AddressOf Foo1}, _
{"2", 2, AddressOf Foo2}
</code>
I realise that this syntax is incorrect, but is there a syntax for this type
of initialisation?
TIA
Charles