Modify

Opened 15 years ago

Closed 15 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 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by Wooltown

comment:1 Changed 15 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

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.

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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.