Re: map = repeat(repeat(....

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

>I think this is close to what you wanted...
>-----------------------------------------
>
>constant EMPTY     = 0,
>         FEDSHIP   = 1,
>         KLINGSHIP = 2,
>         STARBASE  = 3,
>         BASE      = 4
>
>constant SECTOR   = 1,
>         EXPLORED = 2
>
>integer qx,qy,k
>sequence map
>
>map = repeat(repeat({repeat(repeat(0,8),8),0},8),8)
>

That's it...  Thanks a zillion.... 
>"LIVE LONG AND PROSPEROUS." - quote from 'Startrek'

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

Search



Quick Links

User menu

Not signed in.

Misc Menu