#2536 closed Bug (No Bug)
_ArrayDisplay fails with default parameters
Reported by: | jchd18 | Owned by: | |
---|---|---|---|
Milestone: | Component: | Standard UDFs | |
Version: | 3.3.9.22 | Severity: | None |
Keywords: | Cc: |
Description
Using default values for parameters doesn't produce a valid display in the beta (x86 and x64).
Using the Default keyword fails in release and beta (x86 and x64).
#AutoIt3Wrapper_UseX64=y #include <Array.au3> Local $array[4][2] = [ _ ["abc", 12], _ ["def", 34], _ ["ghi", 56], _ ["jkl", 78] _ ] Local $build = " x86" If @AutoItX64 Then $build = " x64" _ArrayDisplay($array, "Explicit " & @AutoItVersion & $build, -1, 0, "", "|", "String|Integer") _ArrayDisplay($array, "Default " & @AutoItVersion & $build, Default, Default, Default, Default, "String|Integer")
Attachments (0)
Change History (5)
comment:1 Changed 11 years ago by mlipok
comment:2 Changed 11 years ago by jchd18
Exactly that.
comment:3 Changed 11 years ago by mlipok
strange
Now I'm on a different computer (Win7 Pro 64Bit).
to 3.3.8.1 I have the results
This is Exactly what I see
[0]|abc [1]|def [2]|ghi [3]|jkl [0]DefaultabcDefault12 [1]DefaultdefDefault34 [2]DefaultghiDefault56 [3]DefaultjklDefault78
but when I use button "Copy selected"
then I get this
[0]|abc|12 [1]|def|34 [2]|ghi|56 [3]|jkl|78
comment:4 Changed 11 years ago by Jpm
- Resolution set to No Bug
- Status changed from new to closed
The problem does not come from the default values but from the header definition that has only 2 columns instead a 2+1 to take care of the extra column for the row numbering
_ArrayDisplay($array, "Default " & @AutoItVersion & $build, Default, Default, Default, Default, "#|String[Integer")
This is due to a bug fix when creating listviewitem with more than column than the header one which now lead to no creation.
comment:5 Changed 11 years ago by mlipok
Thanks Jpm
After analyzing only say that version 3.3.8.1 was a problem with the "Default" but it works fine in 3.3.9.22.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
but as I see relase version and beta give different results:
3.3.8.1
3.3.9.21