Hi
I've just read the wiki too, and yes there are "more ways to skin that cat".
- The object oriented way: with .Create(0,1,2,3); // from wiki
- The subtle way: iArray:= [7, 8, 9]; // from wiki
- The declaration way: iArray: array of byte = (4,5,6); // from wiki
I find the [] subtle way leans itself more towards array-syntaks, as I know it, easier on the eye, if you will
I guess it comes down to preference and size of dataset...
Mind you, I'll just check the fpc-reference now...
edit: According to the reference, all 3 are valid from version 3.2 and upwards.
Regards Benny