Hallo, ich möchte einem 2D-Array ein 1D-Array zuweisen:
dim Array(70) as string
dim Matrix(12,70) as string
for i = 1 to 12
for j = 1 to 70
Array(j) = random(1,2)
next j
Matrix(i) = Array()
next i
Leider kommt da diese Fehlermeldung: „Cannot assign whole array“. Was ist das Problem?
Die Idee ist, dass Matrix(1) das gesamte Zufallszahlen-Array zugewiesen wird, dann Matrix(2) das nächste Zufallszahlen-Array etc…
Danke und Gruß,
Jan