Jump to content

Search the Community

Showing results for tags 'arrayunique'.

  • 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. Hi, guys I'm doing a little research in Array and found a very useful function: _ArrayUnique. But I'm having problems while trying to use. Here is my code, i get directly from the Help File #include <Array.au3> Local $aArray[6][2] = [[1, "A"], [2, "B"], [3, "C"], [1, "A"], [2, "B"], [3, "C"]] _ArrayDisplay($aArray, "2D array") ; Display the current array. Local $aArrayUnique = _ArrayUnique($aArray) ; Use default parameters to create a unique array of the first column. _ArrayDisplay($aArrayUnique, "$aArray first column") ; Display the unique array. $aArrayUnique = _ArrayUnique($aArray, 1) ; Create a unique array of the second column. _ArrayDisplay($aArrayUnique, "$aArray second column") ; Display the unique array. But when I run, i got this: >"I:\LiberKey\MyApps\autoit-v3\SciTe\..\AutoIt3.exe" /ErrorStdOut "I:\LiberKey\MyApps\autoit-v3\Projects\teste.au3" "I:\LiberKey\MyApps\autoit-v3\Include\Array.au3" (2297) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If IsInt($aArray[$iBase]) Then If IsInt(^ ERROR >Exit code: 1 Time: 1.749 I use a portable version of AutoIt. Below has some System Specifications: AutoIt Version: V3.3.14.1 [X32] Windows Version: WIN_XP [Portuguese] Language: 0416 Someone can help me? (And sorry for my bad english)
×
×
  • Create New...