Modify

Opened 17 years ago

Closed 17 years ago

#841 closed Bug (No Bug)

Problems using pipes in array

Reported by: Wooltown Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

In one dimensional array, the text after the pipe will be removed, but in a two dimensional array, the text will occur in the following cell/column, see attached example.

How can I have a "|" in a cell in an array ?

#Include <Array.au3>

DIM $xx[9]
$xx[0] = "ABC|DEF"
;$xx[1] = "GHI|JKL"
$xx[2] = "MNO|PQR"
redim $xx[4]
_Arraydisplay($xx)

DIM $yy[9][3]
$yy[0][0] = 2
$yy[0][1] = 1
$yy[1][1] = "ABC|DEF"
_Arraydisplay($yy)

Attachments (1)

aaa.au3 (217 bytes ) - added by Wooltown 17 years ago.

Download all attachments as: .zip

Change History (2)

by Wooltown, 17 years ago

Attachment: aaa.au3 added

comment:1 by J-Paul Mesnage, 17 years ago

Resolution: No Bug
Status: newclosed

That exactly the reason what there is a before last parameter that can be use to change the separator needed used when displying the info by a listview control.
Perhaps the doc need more adice on this potential conflict.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.