Jump to content

Search the Community

Showing results for tags 'aray'.

  • 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. I have some data of numbers $mydata = "10,2000,300,400,500,550" I asign it into array via regexp, then I sort it with _arraysort and as the result I get that 550 is the biggest number here! What am I doing wrong? Result of console write is 550 500 400 300 2000 10 #include <array.au3> Global $arr[6] $mydata = "10,2000,300,400,500,550" $array1 = StringRegExp($mydata, '(\d+)', 3) for $i = 0 to UBound ($array1)-1 $arr[$i] = $array1[$i] next _ArraySort($arr,1) for $z = 0 to UBound ($arr)-1 ConsoleWrite ($arr[$z]&@CRLF) next
×
×
  • Create New...