Modify

Opened 5 years ago

Closed 5 years ago

#3842 closed Bug (Fixed)

_ArrayToString() documented defaults confusing and arguably wrong

Reported by: SteveJM Owned by: J-Paul Mesnage
Milestone: 3.3.15.5 Component: Documentation
Version: 3.3.14.2 Severity: None
Keywords: _ArrayToString Cc:

Description

Purely in the hope of helping those who come after me: In the documentation for _ArrayToString(), including the latest looked up online, the defaults for $iStart_Row and $iStart_Col are shown as -1.

I found this confusing as the effective defaults are both 0.

I find I must be a little careful with the base of various arrays in Autoit; depending on context it can be 0 or 1. I therefore did not feel I could use _ArrayToString() without experiment and then a look at the source.

In the source I see that the keyword Default is converted to -1, but then the -1 is converted to 0 without any other use that I can see (maybe it was a hook for some other test never implemented, or deleted)

_ArrayToString() is a useful function and I am grateful to have it and the great documentation is one of the many delightful features of Autoit, so I thought I should make the effort.

Attachments (0)

Change History (1)

comment:1 by J-Paul Mesnage, 5 years ago

Milestone: 3.3.15.5
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed by revision [12582] in version: 3.3.15.5

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.