thesatec
Goto Top

Probleme mit Zugriff auf ein Array in structure

Hallo Zusammen,

heute komme ich schon wieder nicht weiter. Ich habe folgende Structure:
  Structure DataGridValue
        Dim Pos(,) As String
    End Structure

sub
 Dim myDatagrid() As DataGridValue
  myDatagrid(0).Pos(0, 0) = "hallo"  
end sub()
Doch wenn ich das Array so belegen möchte stürzt mein Programm ab...
Muss ich noch irgendwie "REDIM" -en?

Was mache ich wohl falsch?

F.

Content-ID: 79220

Url: https://administrator.de/forum/probleme-mit-zugriff-auf-ein-array-in-structure-79220.html

Ausgedruckt am: 21.04.2025 um 14:04 Uhr