Modify

Opened 16 years ago

Closed 16 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 Changed 16 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

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 Changed 16 years ago by Valik

  • Resolution No Bug deleted
  • Status changed from closed to reopened

comment:3 Changed 16 years ago by Valik

  • Resolution set to Rejected
  • Status changed from reopened to closed

Fixing incorrect resolution.

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.