Modify

Opened 18 years ago

Closed 18 years ago

#224 closed Feature Request (Rejected)

Ubound would return last index

Reported by: amokoura Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: ubound Cc:

Description

In other languages, Ubound returns the last index. So wouldn't it be natural to have it behave the same way in AutoIt?

Ubound referes to "Upper Bound", which might not straightforwardly refer to array "size" or "length".

Attachments (0)

Change History (3)

comment:1 by Valik, 18 years ago

Resolution: No Bug
Status: newclosed

It refers to the length when the array is initialized with an appropriate empty value. The behavior of UBound() is correct and will not be changed.

comment:2 by Valik, 18 years ago

Resolution: No Bug
Status: closedreopened

comment:3 by Valik, 18 years ago

Resolution: Rejected
Status: reopenedclosed

Fixing incorrect resolution.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


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