[Pas2js] Pas2js 0.9.20
Ryan Joseph
ryan at thealchemistguild.com
Sat May 12 10:38:42 CEST 2018
> On May 12, 2018, at 3:32 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>
> You must typecast a JSValue.
>
> if i = Integer(JSValue) then
we’re stuck in this weird middle ground with Pascal to JS because it feels like “i" should equal JSValue but in Pascal syntax there’s no such equivalent. Likewise at least as JS RTL functions are written “array of JSValue” feels like it should make sense and basically just be an alias to TJSArray, which is of course an array of JSValue’s.
Regards,
Ryan Joseph
More information about the Pas2js
mailing list