Modify

Opened 5 years ago

Closed 5 years ago

#3716 closed Bug (Fixed)

_ArrayToClip incorrect in autoit help

Reported by: jack4565@… Owned by: Jpm
Milestone: 3.3.15.1 Component: Documentation
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

The example doesn't match the parameters:

#include <Array.au3>
#include <MsgBoxConstants.au3>

Local $aArray = StringSplit("A,B,C,D,E,F,G,H,I", ",")
_ArrayDisplay($aArray, "1D Array")

;######## THIS IS WRONG #######
_ArrayToClip($aArray, " - ", Default, 1, 6)
;######## SHOULD BE LIKE THIS #######
_ArrayToClip($aArray, " - ",0,2)


MsgBox($MB_SYSTEMMODAL, "_ArrayToClip() 1D Test", ClipGet())

Local $aArray[4][4]
For $i = 0 To 3
    For $j = 0 To 3
        $aArray[$i][$j] = $i & $j
    Next
Next
_ArrayDisplay($aArray, "2D Array")


;######## THIS IS WRONG #######
_ArrayToClip($aArray, " :: ", Default, 1, 2, 1, 2)
;######## SHOULD BE LIKE THIS #######
_ArrayToClip($aArray, " :: ",1,2,@crlf,1,2)

MsgBox($MB_SYSTEMMODAL, "_ArrayToClip() 2D Test", ClipGet())

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by Jpm

  • Milestone set to 3.3.15.1
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [12213] in version: 3.3.15.1

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 owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.