Jump to content

Search the Community

Showing results for tags '2-dimensional array'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. So... this doesn't work. #include <Array.au3> Local $aTest1[3] = ["Thing1 Thing2 Thing3","Thing4 Thing5 Thing6","Thing7 Thing8 Thing9"] Local $aTest2[3][3] For $i = 0 to UBound($aTest1) $aTest2[$i] = StringSplit($aTest1[$i]," ") Next _ArrayDisplay($aTest2) It seems that a 2-dimensional array is completely different from an array in which every element is an array. The result I'm hoping for is: $aTest2[0][0] = "Thing1" $aTest2[0][1] = "Thing2" $aTest2[0][2] = "Thing3" $aTest2[1][0] = "Thing4" $aTest2[1][1] = "Thing5" $aTest2[1][2] = "Thing6" $aTest2[2][0] = "Thing7" $aTest2[2][1] = "Thing8" $aTest2[2][2] = "Thing9"
×
×
  • Create New...