#3842 closed Bug (Fixed)

_ArrayToString() documented defaults confusing and arguably wrong

Reported by: SteveJM Owned by: Jpm
Milestone: Component: Documentation
Version: Severity: None
Keywords: _ArrayToString Cc:


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 Changed 15 months ago by Jpm

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

Fixed by revision [12582] in version:

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

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

Note: See TracTickets for help on using tickets.