Custom Query (3922 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (313 - 315 of 3922)

Ticket Resolution Summary Owner Reporter
#2548 Rejected Array Literal Notation Tasiro
Description

Please allow the use of the array literal notation as an expression and not only as an array initializer. Example:

Local $data [2] = ["a", "b"]
; ...
_ArrayConcatenate ($data, ["c", "d"])
#2604 Rejected Array access on expression & first element DXRW4E
Description

Sorry for my English

can be enabled (in Array access on expression) to read\access the first item\element directly (without specify it), example

Local $aTest1[4] = [1,2,3,4], $aTest1[4] = ["One","Two","Three","Four"], $aTest3[4][4] = [[0,1,2,3],[4,5,6,7]]
If ($aTest1) = 1 Then
	;ect ect ect
EndIf

If ($aTest2) = "One" Then
	;ect ect ect
EndIf

If ($aTest3) = 0 Then
	;ect ect ect
EndIf

Ciao.

#2283 No Bug Array access when using nested arrays Matt Diesel
Description

If arrays are nested then it is not possible to access them using brackets directly.

Local $a1[3] = [0, 0, 0]
Local $a2[3] = [1, 2, 3]

$a1[2] = $a2

;MsgBox(0, "Test", ($a1[2])[1]) ; Works
MsgBox(0, "Test", $a1[2][1]) ; Doesn't

Furthermore, using parenthesis like above to try and assign to that does nothing at all (no error, no effect):

#include<Array.au3>


Local $a1[3] = [0, 0, 0]
Local $a2[3] = [1, 2, 3]

$a1[2] = $a2

($a1[2])[1] = 42

_ArrayDisplay($a1[2])
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.