RosettaCodeData/Task/Order-two-numerical-lists/AutoHotkey/order-two-numerical-lists.ahk
Ingy döt Net b83f433714 tasks a-s
2013-04-10 23:57:08 -07:00

7 lines
133 B
AutoHotkey

List1 := [1,2,1,3,2]
List2 := [1,2,0,4,4,0,0,0]
MsgBox % order(List1, List2)
order(L1, L2){
return L1.MaxIndex() < L2.MaxIndex()
}