[fpc-pascal] Pass array of record as parameter

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Feb 9 19:10:52 CET 2012


On 09 Feb 2012, at 19:07, Zaher Dirkey wrote:

> Thanks, but that is not my expected answer, my ask about "dynamic array of
> record" and without define a variable to pass it by params, for example i
> can pass the params for array of string like this
> 
> func2(['t1', 't1']); this work, but i want to extend the params info?

Declaring record constants inline in the code is not supported by FPC (regardless of whether it's for an array parameter, an assignment or something else). There are no plans to add support for it either.


Jonas


More information about the fpc-pascal mailing list