Forum: Sonstige Fragen zu Delphi
Delphi
by Die Muhkuh,
20. Mär 2008
Zähl doch mal durch:
0..5 => 0, 1, 2, 3, 4, 5 => 6 Einträge
0..6 => 0, 1, 2, 3, 4, 5, 6 => 7 Einträge
Forum: Sonstige Fragen zu Delphi
Delphi
by Die Muhkuh,
20. Mär 2008
Wie gesagt, kommt darauf an, wie Du es interpretierst. Aber beide, von Dir vorgeschlagenen, Varianten sind falsch. 0..6 => 7 Einträge, 0..7 => 8 Einträge.
Nehmen wir mal an, Du machst es nach mathematischer Konvention (siehe Sebastian) => Dann ist dein ZweiDimArray:
var ZweiDimArray: array of Integer;
// Y X
Beim Code von Markus ist es andersrum. Da ist erst...