id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1298,Poor Behavious of UBound Function,nitrogen,,"For UBound function, it gives me an impression that it should return the UPPER BOUNDARY of an array, but it actually returns the SIZE of array instead. For example, we loop an array using this Dim $myArray[10] For $r = 0 to UBound($myArray) - 1 $myArray[$r]=$r Next But if ubound really return the upper boundary, it should be Dim $myArray[10] For $r = 0 to UBound($myArray) $myArray[$r]=$r Next In VB, UBound does return the upper boundary but NOT the size of array. Thanks!",Feature Request,closed,,AutoIt,,None,Rejected,,