Modify

Opened 5 months ago

Closed 5 months ago

#3842 closed Bug (Fixed)

_ArrayToString() documented defaults confusing and arguably wrong

Reported by: SteveJM Owned by: Jpm
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 Changed 5 months ago by Jpm

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

Fixed by revision [12582] in version: 3.3.15.5

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.