Jump to content

SAV

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by SAV

  1. Sorry for my bad english. I think there is a small bug with UDF _ArrayTrim function: Func _ArrayTrim ($aArray, $iTrimNum, $iTrimDirection = 0, $iBase = 0, $iUBound = 0) $iTrimDirection - 0 to trim left, 1 to trim right But: Func _ArrayTrim($aArray, $iTrimNum, $iTrimDirection = 0, $iBase = 0, $iUBound = 0) ...... If UBound($aArray) = 0 Then ....... If $iBase < 0 Or Not IsNumber($iBase) Then ....... ....... ....... If $iTrimDirection <1 Or $iTrimDirection > 2 Then SetError(4) Return And $iTrimDirection = 0 doesn't work correctly To fix it, we need change this string: If $iTrimDirection < 0 Or $iTrimDirection > 1 Then Thats work OK Autoit 3.1.1 beta 17
×
×
  • Create New...