Results 1 to 4 of 4

Thread: Large arrays

  1. #1
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Large arrays

    So i want to make a type which i can do, but then i want to kind of turn it into a graph kinda (its how im thinking of it in my mind). So if i call this type "Room" would i do?
    Simba Code:
    var
    graph :Array of Array Of Room
    and could i use it like, graph[3][4].stuff

    I have no idea if this would work and i cant try it at the moment as im still at school and just about to head home but would this work? Or how would i do it?

    Thanks as always
    The UnTroll like Troll
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  2. #2
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #3
    Join Date
    Oct 2010
    Location
    Under a bridge
    Posts
    648
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks I was'nt sure if i was right or not and i wanted to know how to fix it if it was wrong before i got home
    Quote Originally Posted by DD on IRC
    wanted to troll the troll

  4. #4
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    For typo correcting code (and to make it passable into Plugins), you should probably define: TRoomArray, T2DRoomArray, etc.

    Just as you need them. Also looks nicer than doing "array of array" everywhere.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •