Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1114 closed Bug (Works For Me)

_ArrayDisplay() not honouring Opt("GUIDataSeparatorChar",...)

Reported by: partypooper@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: _ArrayDisplay, GUIDataSeparatorChar Cc:


#Include <Array.au3>
Opt("GUIDataSeparatorChar", " ")
$a_Array = StringSplit($s_String, " ")

Should produce:
[0] = 4
[2] = JKL|MNO
[3] = PQR|STUV
[4] = WXYZ

But instead produces:
[0] = 4
[1] = ABCDE
[2] = JKL
[3] = PQR
[4] = WXYZ

If the separator (" ") is physically specified in the _ArrayDisplay() command like the script below, it works as it should but then it's kinda pointless specifying Opt("GUIDataSeparatorChar", " ") in the script.

#Include <Array.au3>
Opt("GUIDataSeparatorChar", " ")
$a_Array = StringSplit($s_String, " ")
_ArrayDisplay($a_Array,"",-1,0," ")

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by Jpm

  • Resolution set to Works For Me
  • Status changed from new to closed

Working for me as fixed in the current beta.
It was not working under

comment:2 Changed 15 years ago by partypooper@…

Yes, my mistake JPM, it DOES work under current beta but NOT for the current production

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

as closed The ticket will remain with no owner.

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

Note: See TracTickets for help on using tickets.