thesatec

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.
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 79220

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

Ausgedruckt am: 25.05.2025 um 22:05 Uhr