[Pas2js] array of const

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Feb 16 20:13:53 CET 2019


On Sat, 16 Feb 2019 07:22:01 -0700 (MST)
warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:

>[...]
> Anyway, I did another test, this one, I'm passing an "array of
> metaclass" type as argument to subroutine, I didn't know this works
> in my pas2js 1.2, for instance: 
>[...]
> constructor TSQLModel.Create(const Tables: array of TSQLRecordClass;
>   const aRoot: string);

Open arrays are supported since a long time. 0.8.something.

Mattias


More information about the Pas2js mailing list