Search the Community

Showing results for tags '_versioncompare()'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Chat
    • 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

Categories

  • Forum
  • AutoIt

Calendars

  • Community Calendar

Found 1 result

  1. How to Find the largest version of a list of version numbers?  ;For TEST DirCreate("1.2.6.4") DirCreate("1.1.2.4") DirCreate("1.0.3.4") DirCreate("1.5.0.4") DirCreate("1.6.7.4") ;For TEST END #include <Misc.au3> #include <File.au3> Local $sListVer,$sListFile = _FileListToArray(@ScriptDir, "*", 2, 0) For $x = 1 To UBound($sListFile) - 1 If StringInStr($sListFile[$x],".") Then ConsoleWrite($sListFile[$x]&@CRLF) $sListVer&=$sListFile[$x]&"|" EndIf Next Local $sVerList = StringSplit($sListVer,"|") If UBound($sVerList) > 1 Then For $x = 1 To UBound($sVerList) - 1 ConsoleWrite($sVerList[$x]&@CRLF) ;ConsoleWrite(_VersionCompare ( "", "" )&@CRLF) Next EndIf ;For TEST DirRemove("1.2.6.4") DirRemove("1.1.2.4") DirRemove("1.0.3.4") DirRemove("1.5.0.4") DirRemove("1.6.7.4") ;For TEST END#