[haXe] Bugfix proposal: Int/Number deserialization in SWHX AS2
deserializer.
Ian Thomas
ian at eirias.net
Mon Apr 23 15:15:39 CEST 2007
On 4/23/07, Stefan Thurnherr <stefan.thurnherr at gmail.com> wrote:
> Ian: I was also wondering why the (c == null) check does not do its
> job...the AS2 doc for String.charCodeAt() says:
>
> "Returns a 16-bit integer from 0 to 65535 that represents the
> character specified by index. If index is not a number from 0 to
> string.length - 1, NaN is returned."
> > haXe modifies the String.charCodeAt methods so that out-of-ranges chars
> > returns null instead of NaN, but that's not the case for AS2.
>
Ah, now I understand!
Thanks both. :-D
Ian
More information about the Haxe
mailing list