Jump to content

Search the Community

Showing results for tags 'nested for'.

  • 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. Dear everybody, i have created a function that searches for a string in an array and starting from that point(index), stores in another array the following 26 items. Func FileSearch($sStringToSearch) $k=0 $count_search=0 For $count = 0 To UBound($content_array) - 1 $search_result=StringInStr($content_array[$count],$sStringToSearch) If $search_result<>0 Then $count_search+=1 ReDim $SearchOnlineActivation[$count_search][$k] ;Adding a row MsgBox($MB_OK, "rows", UBound($SearchOnlineActivation, $UBOUND_ROWS)) For $k=0 To 25 ReDim $SearchOnlineActivation[$count_search][$k +1] ;Adding a column $SearchOnlineActivation [$count_search -1][$k] = $content_array[$count] $k+=1 ;_ArrayDisplay($SearchOnlineActivation) Next EndIf Next EndFunc The problem starts at this Point: $SearchOnlineActivation [$count_search -1][$k] = $content_array[$count] I insert a search_result in a cell of the 2D Array, but it "crashes". (Array variable has incorrect number of subscripts or subscript dimension range exceeded.)
×
×
  • Create New...