#Include <Array.au3>
dim $a[4]=[3,11,2,3]
_ArraySort($a,0,1)
_ArrayDisplay($a)
A、B、C要转换成数字:
$a=Number(InputBox('比较大小','第一个整数:'))
$b=Number(InputBox('比较大小','第二个整数:'))
$c=Number(InputBox('比较大小','第三个整数:'))
If $a>$b Then
$d=$a
$a=$b
$b=$d
EndIf
If $a>$c Then
$d=$c
$c=$a
$a=$d
EndIf
If $b>$c Then
$d=$b
$b=$c
$c=$d
EndIf
MsgBox(0,'排序结果','从小到大依次为:'&$a&','&$b&','&$c)