x


Tried to make a List.>(), it doesn't work, so how do I do that?

The compiler doesn't like it- I get the error;

expecting >, found '>>'.

But I thought a generic list could be a list of anything, even of other lists, so

 var masterList : List.<List.<whatev>>;

should be valid... I'm just not declaring it the right way?

An array of arrays seems to work fine but I need the size to vary.

more ▼

asked Mar 02 '12 at 10:04 PM

Kiloblargh gravatar image

Kiloblargh
1k 35 55 70

Why not C#?

Mar 02 '12 at 10:16 PM Jessy

And yes, I know all the cool kids are using C#; but I'm almost done with this game and have written the whole thing in JS so fa, so I don't want to waste any time on a mid-stream horse-switch when it's not absolutely necessary...

Mar 02 '12 at 10:30 PM Kiloblargh
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first
more ▼

answered Mar 02 '12 at 10:15 PM

Jessy gravatar image

Jessy
15.6k 72 95 196

omg xD that parser is kinda messed up...

Mar 03 '12 at 02:07 AM Bunny83
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x356
x38
x36

asked: Mar 02 '12 at 10:04 PM

Seen: 534 times

Last Updated: Mar 03 '12 at 02:07 AM