[Pas2js] My 1st type helper
Sven Barth
pascaldragon at googlemail.com
Thu Feb 28 19:47:15 CET 2019
Am 27.02.2019 um 14:07 schrieb warleyalex via Pas2js:
> this syntax
> // TFloatHelper = helper for Float
>
> // hum, doesn't work for me, I had to include the keyword type
Correct, because they're *type* helpers. To have them distinct from
"class helper" and "record helper" (though FPC allows nearly any type
nowadays for type helpers, don't know if pas2js followed that).
Regards,
Sven
More information about the Pas2js
mailing list