-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Caveat: this is my best guess as a bystander who has passing
familiarity with HAXE code. I'm far from an expert. I may be entirely
wrong with my comments below...
On 12/04/16 00:43, Yusuf Fahry wrote:
> Hi,
>
> I got an error that is not familiar to me. It says that *Uncaught
> exception - Invalid field access : length*.
That error means that the runtime does not know what .length means on
your array slice.
> This the snippet of the associated code.
>
> package;
>
> importhaxe.ds.Vector; importneko.Lib; importhaxe.io.Input;
>
> classMain { staticvaraList =newArray();
I think you need to change this to:
static Array<String> aList = new Array<String>()
That will tell your runtime that the array contains strings and
therefore a slice is a single instance of String which _does_ have a
.length
- --
Daniel Llewellyn, Bowl Hat
PGP/GnuPG Key ID: 0x0349ED21
4C9C BFAD 0069 D679 9660 BCD5 40C2 D958 0349 ED21
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXDDhsAAoJEFx8XrpDpVlRDeMIAMI6Q2c2NRvgBwnsY+BpV7zC
GP9R1DGWPcCAKTmNoZbHs3leG2F1amWAmRfgmfo0T+/8+YrYp/WXwgQ3IOT0ExKF
OlGRjRW9ms6Qx8POgbhid3Q8Pfscjy7uKb6gt6++7MSYek9dtCgjrrTlvdjZIyRF
Gu90XPYqlZSqWEspMdNq+NBc6Bh9QuR5CAr+lX6aWnM+ysUtmg54TT8L1feE6aLD
/rCvDPeJxGzDNkPaoOmsC/AwLQPPjGe0lmyi8UjigFFE+uf2bAJqkkS25qlC9acK
9Di7C4edshiLBAZZGX5jw0kA/JStzJv15HwAAqV4DNfs6FFoxWiwgDUyrWRd11Q=
=L2Jl
-----END PGP SIGNATURE-----