Custom Query
Results (136 - 138 of 3841)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1122 | Fixed | _MathCheckDiv. No error return value. | Gary | anonymous |
Description |
Is using SetError(1) after Return. They need to be swapped. Func _MathCheckDiv($i_NumA, $i_NumB = 2) If Number($i_NumA) = 0 Or Number($i_NumB) = 0 Or Int($i_NumA) <> $i_NumA Or Int($i_NumB) <> $i_NumB Then Return -1 SetError(1) ElseIf Int($i_NumA / $i_NumB) <> $i_NumA / $i_NumB Then Return 1 Else Return 2 EndIf EndFunc ;==>_MathCheckDiv ps: Any reasons for not using "Return SetError(1,0,-1)"?, apart from "was written before SetError(Er,Ex,Rt) support" of course. just curious. |
|||
#1130 | Duplicate | $tagNMLVKEYDOWN stuct not working in x64 OS | Gary | smashly66@… |
Description |
$tagNMLVKEYDOWN in StructureConstants.au3 "int VKey" needs to be "int_ptr VKey" for it to work in x64 os. I saw $tagNMHDR struct that is used in $tagNMLVKEYDOWN stuct has been fixed in milestone 3.3.1.2, but wasn't sure if this had been fixed as well. |
|||
#1142 | No Bug | _ArraySearch return 0 (number vs string) | Gary | JKFN |
Description |
#Include <Array.au3> Dim $array[1] $array[0]=0 $output=_ArraySearch($array,"string") $output is not -1, but 0 |
Note: See TracQuery
for help on using queries.