Autor Beitrag
ShadowThief
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278



BeitragVerfasst: Do 27.11.03 16:54 
kann man irgendwie ein konstantes array machen.
also ein array in der const -klausel?

danke.
shadow.

_________________
"soylent grün ist menschenfleisch!"
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 27.11.03 16:59 
ja, z.B. so:

ausblenden Delphi-Quelltext
1:
2:
const
 x: array[0..3of byte = (1234);


records gehen auch, und zwar in der Art:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
 x: array[0..3of record
                    a,b: string;
                   end = ((a: 'a'; b: 'b'),
                          (a: 'c'; b: 'd'),
                          (a: 'e'; b: 'f'),
                          (a: 'g'; b: 'h'));
ShadowThief Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278



BeitragVerfasst: Do 27.11.03 19:41 
ok, alles klar, danke.

shadow.

_________________
"soylent grün ist menschenfleisch!"