Modify

Opened 16 years ago

Closed 16 years ago

#368 closed Bug (Fixed)

Success of _ArrayToClip is now -1 (used to be 1 and as still documented)

Reported by: John.Rainbow@… Owned by: Gary
Milestone: 3.2.13.2 Component: Standard UDFs
Version: 3.2.12.0 Severity: None
Keywords: Cc:

Description

The "Success" return of function _ArrayToClip is now -1 (older production release returned "1" and the current documentation for this function is also "1").

The workaround is either to use the new "Success" value of "-1" (not recommended in case this function is corrected to the documentation) or to test that it is <> 0

For example, Return Flag in the script below shows as "-1" although it was successful (according to the documentation, success = 1)

#include <Array.au3>

Local $avArray = StringSplit("a,b,c,d,e,f,g,h,i", ",")
$iRetCode = _ArrayToClip($avArray, 1)
MsgBox(0, "Return Flag ", "$iRetCode = " & $iRetCode)
MsgBox(0, "_ArrayToClip() Test", ClipGet())

Attachments (0)

Change History (3)

comment:1 Changed 16 years ago by TicketCleanup

  • Milestone Future Release deleted

Automatic ticket cleanup.

comment:2 Changed 16 years ago by Valik

  • Component changed from AutoIt to Standard UDFs
  • Owner set to Gary

comment:3 Changed 16 years ago by Gary

  • Milestone set to 3.2.13.2
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version: 3.2.13.2

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 Gary.
Author


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

 
Note: See TracTickets for help on using tickets.