Jump to content

Search the Community

Showing results for tags 'Array arrays'.

  • 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. Got a quick question about how to fill arrays with a loops. I'm trying to read a large txt file and load its contents line by line into different arrays. The reason I want to do this is to keep an easy way to tell what line the data came from. I tried a few different methods to no real success got frustrated, so here I am. My best bet as to how to do it: $AAA = FileOpen("C:\Documents and Settings\dhicks\My Documents\TEST.txt") ; Check if file opened for reading OK If $AAA = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf For $Lines = 1 To 6000 $BBB = FileReadLine($AAA) $CCC = $BBB[$Lines] Next For $Lines = 1 To 6000 _ArrayDisplay($CCC) Next So what I was aiming or was: For every line of the file - read that line to get a string then load that line into an array. If there is an easier way to do something like that i'm all for it.
×
×
  • Create New...