Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.184 Beiträge
 
Delphi 12 Athens
 
#5

Re: Mehrdimensionale Array Konstante

  Alt 19. Jun 2009, 00:44
Delphi-Quellcode:
man könnte es sich auch so probieren ... einfach mal unterschiedliche Dimensionen
Array[0..1, 0..2] of I = ((0,1), (2,3), (4,5));

oder vielleicht so
Code:
Array[color=#ff0000][[/color]0..1[color=#ff0000]][/color] of I = [color=#ff0000]([/color]0,1[color=#ff0000])[/color];

Array[color=#ff0000][[/color]0..1[color=#ff0000]][/color] of Array[color=#00ff00][[/color]0..1[color=#00ff00]][/color] of I = ...
Array[0[color=#ff0000]..[/color]1, 0[color=#00ff00]..[/color]1] of I = [color=#ff0000]([/color][color=#00ff00]([/color]0,1[color=#00ff00])[/color], [color=#00ff00]([/color]2,3[color=#00ff00])[/color][color=#ff0000])[/color];

Array[color=#ff0000][[/color]0..1[color=#ff0000]][/color] of Array[color=#00ff00][[/color]0..1[color=#00ff00]][/color] of Array[color=#0000ff][[/color]0..1[color=#0000ff]][/color] of I = ...
Array[0[color=#ff0000]..[/color]1, 0[color=#00ff00]..[/color]1, 0[color=#0000ff]..[/color]1] of I = [color=#ff0000]([/color][color=#00ff00]([/color][color=#0000ff]([/color]0,1[color=#0000ff])[/color], [color=#0000ff]([/color]2,3[color=#0000ff])[/color][color=#00ff00])[/color], [color=#00ff00]([/color][color=#0000ff]([/color]4,5[color=#0000ff])[/color], [color=#0000ff]([/color]6,7[color=#0000ff])[/color][color=#00ff00])[/color][color=#ff0000])[/color];
.                                [color=#ff0000]0[/color] [color=#a0a0a0]0    0 0[/color]     [color=#ff0000]1[/color] [color=#a0a0a0]0    0 0[/color]
.                                [color=#00ff00]0[/color] [color=#a0a0a0]0[/color]   [color=#00ff00]1[/color] [color=#a0a0a0]0[/color]     [color=#00ff00]0[/color] [color=#a0a0a0]0[/color]   [color=#00ff00]1[/color] [color=#a0a0a0]0[/color]
.                                [color=#0000ff]0 1    0 1      0 1    0 1[/color]
$2B or not $2B
  Mit Zitat antworten Zitat