Modify ↓
Opened 17 years ago
Closed 17 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 17 years ago by TicketCleanup
- Milestone Future Release deleted
comment:2 Changed 17 years ago by Valik
- Component changed from AutoIt to Standard UDFs
- Owner set to Gary
comment:3 Changed 17 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.
Note: See
TracTickets for help on using
tickets.
Automatic ticket cleanup.