Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (169 - 171 of 3866)

Ticket Resolution Summary Owner Reporter
#600 Fixed Array.au3 in Beta 3.2.13.8 the functions don't work with 2D Array Gary TalivanIBM
Description

i have proved the Beta 3.2.13.8 and, for example, the function _ArraySearch don't work with 2D Array, in Array.au3 the second line of this function is

If UBound($avArray, 0) <> 1 Then Return SetError(2, 0, 0)

and always if the $avArray is 2D returns error 2 because UBound returns 2 and it's diferent of 1

if we change for

If UBound($avArray, 0) > 2 And UBound($avArray, 0) < 1 Then Return SetError(2, 0, 0)

the function accepts 2D Array, the first line of code is in all of the functions in Array.au3.

#601 Fixed Helpfile should mention that ToolTip "title" can be max 99 characters Jpm AdmiralAlkex
Description

In the forum thread @ http://www.autoitscript.com/forum/index.php?showtopic=82003 we found out that if the "title" for ToopTip() is over 99 chars it doesn't show up.

I believe that should be added to either Parameters or Remarks section so users don't have to find that out "the hard way"

#603 Fixed _FileReadToArray() does not return an array if the file contains only a single line of text. Gary Bowmore
Description

In AutoIt 3.2.13.8 and previous beta versions _FileReadToArray() does not return an array if the file contains only a single line of text. It does return an array in the Production version 3.2.12.1 of AutoIt

Test script to demonstrate behaviour in current beta

#include <file.au3>
#include <array.au3>
Global $g_sFileName = ''
Global $g_aFile = 0
Global $g_iStatus = 0
Global $g_sMessage = ''

;_FileReadToArray does not return array if file contains only 1 line of text
$g_sFileName = "C:\Data\TestFile_1.txt"
$g_iStatus = _FileReadToArray($g_sFileName, $g_aFile)
$g_sMessage = "@error       " & @TAB & " = " & @error & @CRLF
$g_sMessage &= "$g_sFileName" & @TAB & " = " & $g_sFileName & @CRLF
$g_sMessage &= "$g_aFile    " & @TAB & " = " & $g_aFile & @CRLF
$g_sMessage &= "$g_iStatus  " & @TAB & " = " & $g_iStatus
MsgBox(0, "Bug Test", $g_sMessage)
_ArrayDisplay($g_aFile)

;_FileReadToArray does returns array if file contains more than 1 line of text
$g_sFileName = "C:\Data\TestFile_2.txt"
$g_aFile = 0
$g_iStatus = _FileReadToArray($g_sFileName, $g_aFile)
$g_sMessage = "@error       " & @TAB & " = " & @error & @CRLF
$g_sMessage &= "$g_sFileName" & @TAB & " = " & $g_sFileName & @CRLF
$g_sMessage &= "$g_aFile    " & @TAB & " = " & $g_aFile & @CRLF
$g_sMessage &= "$g_iStatus  " & @TAB & " = " & $g_iStatus
MsgBox(0, "Bug Test", $g_sMessage)
_ArrayDisplay($g_aFile)
Note: See TracQuery for help on using queries.