Re: 3 dimension array

new topic     » goto parent     » topic index » view thread      » older message » newer message

> >> a = 3
> >> b = 7
> >> c = 4
> >> somearray = repeat(repeat(repeat(0,c),b),a)
>
> > This will need to be made into a recursive function, I'm sure... :)
>
> The example I gave works. Why "need to"?

In case he wants more than 3 dimensions (as he mentioned in his original
post)...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu