[fpc-pascal] property of an array

Jeremy Cowgar jeremy at cowgar.com
Sun Jan 4 22:46:58 CET 2009


dmitry boyarintsev wrote:
> 1)
> type
>    StringArray : array of String;
>
> defines a StringArray type to be dynamic array.
> are you sure, that you have SetColumnNames defined as
> procedure SetColumnNames(names : StringArray);
> rather than:
> procedure SetColumnNames(names : array of string);
> ???
>   
Hm, you are right. When I was able to do SetColumnNames([...]); was 
before I changed to a defined type, trying to get around this problem.

Jeremy




More information about the fpc-pascal mailing list