autoit_wowfishingbot/_ArraySize.au3
2013-06-17 21:21:28 +02:00

14 lines
182 B
AutoIt

#include <Array.au3>
Func _ArraySize( $aArray )
SetError( 0 )
$index = 0
Do
$pop = _ArrayPop( $aArray )
$index = $index + 1
Until @error = 1
Return $index - 1
EndFunc