Custom Query (3927 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (85 - 87 of 3927)

Ticket Resolution Summary Owner Reporter
#2125 Fixed _FileWriteFromArray crashes when writing a 2D array guinness water
Description

When writing a 2D array the script crashes with error message: Array variable has incorrect number of subscripts or subscript dimension range exceeded.

Reproducer Script:

#include <file.au3> #include <array.au3> Global $aTest[2][2] = 1,2],[2,3 _ArrayDisplay($aTest) _FileWriteFromArray("C:\temp\test.log", $aTest)

The array is displayed correctly as a 2D array. But then the script crashes with: C:\Program Files (x86)\AutoIt3\Include\file.au3 (272) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $s_Temp &= $s_Delim & $a_Array[$x][$y] $s_Temp &= $s_Delim & ERROR

Solution: Replace line 271: For $y = 1 To $iDims with For $y = 0 To $iDims-1

#2634 Fixed Treat keyword Default like an unset optional parameter water
Description

When keyword Default is passed to a function for an optional parameter it should be replaced by the default value for this parameter. This would save a lot of statements in many UDFs to set the value of a parameter to the default value as defined in the Func statement for optional parameters.

Example: The MsgBox should always display 1 for P1 even when passed as keyword Default.

_Test()
_Test(Default)
Func _Test($P1 = 1, $P2 = 2)
	MsgBox(0, "Parameters", "P1: " & $P1 & @CRLF & "P2: " & $P2)
EndFunc

Has been discussed here: http://www.autoitscript.com/forum/topic/139892-enhance-autoit-udfs/page-5#entry995563

#2725 Fixed Problem printing help file with multiple examples Jpm water
Description

When printing the help file for _Excel_RangeCopyPaste only the first of 4 examples is printed. I get the help text and the first example printed. For examples 2 to 4 I just get the heading "Example x Copy to clipboard" and a lot of empty lines but no example code.

Other users have notices this as well. Details can be found in this thread: http://www.autoitscript.com/forum/topic/161436-problem-printing-help-file-with-multiple-examples

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.