[fpc-devel]Re: array of char

startx startx at geocities.com
Fri Sep 29 13:03:04 CEST 2000

R Wong wrote:
> > const
> >  CharsDes1:array[0..383]of char=
> >   '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF'+
> >  (snipped 4 identical lines...)
> >   '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF';
> Any solutions (tricks, hacks, ...) ?

A stupid and dirty solution: use more arrays, as many as you need,
declared one after the other, and then use the first array with the
index going outside boundaries. I did'nt test this, but should work -
only pay attention at the alignment (word or longword). I've seen the
Pchar solution, and seems better.

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

More information about the fpc-devel mailing list