Custom Query (3910 matches)
Results (328 - 330 of 3910)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3559 | Fixed | ArrayAdd item-delimited string erroneously stores Booleans as strings / Feature request func Bool() | ||
| Description |
Hi devs. This is a combined Bug report + feature request. Example below. Global $test[1][2] $test[0][0]=False $test[0][1]=True _ArrayAdd($test,False & "|" & True) for $cc=0 to 1 ConsoleWrite(IsBool($test[$cc][0]) & ", " & IsBool($test[$cc][1]) & @CRLF) Next Note how the first row contains Booleans, but the second row does not. This can be solved by adding a function Bool() that forces the contained expression to be evaluated as/converted into a boolean (in analogy to Number() & IsNumber(), Ptr() & IsPtr(), etc) The fix for the above bug would then be to write: _ArrayAdd($test,Bool(False) & "|" & Bool(True)) and/or _ArrayAdd would have to be smart enough to detect the difference between "True" and True, "False" and False. Cheers, RT |
|||
| #3949 | Fixed | ArrayDisplayInternals : incorrect indication in Func ArrayDisplay_GetData | ||
| Description |
Inside the function, when $sTemp is a 2D array, then only 1 dimension is indicated instead of 2. Reproducer : #include <Array.au3> Local $aArray[1] Local $aInternal[3][5]=[[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5]] $aArray[0] = $aInternal _ArrayDisplay($aArray) ; will wrongly display {Array[5]} instead of {Array[3][5]} Suggested fix : instead of... Local $sSubscript = "" For $i = 1 To UBound($sTemp, 0) $sSubscript = "[" & UBound($sTemp, $i) & "]" ; line 727 (in AutoIt 3.3.16.1) Next ...this should do it : Local $sSubscript = "" For $i = 1 To UBound($sTemp, 0) $sSubscript &= "[" & UBound($sTemp, $i) & "]" Next |
|||
| #3853 | Fixed | ArrayDisplayInternals.au3 - 6x ConsoleWrite() | ||
| Description |
In (3.3.15.4) ArrayDisplayInternals.au3 there are 6x ConsoleWrite() which shouldn't be there. Note: In 3.3.15.3 it was OK, so this is new bug. |
|||
