Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2885 closed Bug (Fixed)

_array_max error with ubound 0

Reported by: anonymous Owned by: Melba23
Milestone: 3.3.13.20 Component: Standard UDFs
Version: 3.3.13.19 Severity: None
Keywords: Cc:

Description

1)

$array = StringRegExp('', 'page=(\d+)', 3)
_ArrayMax($array)

"...\AutoIt3\Beta\Include\array.au3" (1249) : ==> Subscript used on non-accessible variable.:
Return $aArray[$iResult][$iSubItem]
Return $aArray ERROR
2)

Local $array[0]
_ArrayMax($array)

"...\AutoIt3\Beta\Include\array.au3" (1247) : ==> Variable subscript badly formatted.:
Return $aArray[$iResult]
Return $aArray[ ERROR

Attachments (0)

Change History (7)

comment:1 follow-up: Changed 10 years ago by anonymous

Gentlemen developers, it would be good for you to do the test, after you change the functions.

comment:2 Changed 10 years ago by jchd18

Same issue with _ArrayMin.

comment:3 in reply to: ↑ 1 Changed 10 years ago by mLipok

Replying to anonymous:

Gentlemen developers, it would be good for you to do the test, after you change the functions.

Recently, here everyone had a chance to feel like a developer:
http://www.autoitscript.com/forum/topic/158118-beta-arrayau3-code-testing-and-comments-welcomed/

comment:4 Changed 10 years ago by Melba23

An easy fix - an internal function was only returning the value and not the error.

Gentlemen developers, it would be good for you to do the test, after you change the functions.

We do test a lot - but unfortunately just like MS we do not catch everything. But we do tend to fix things a lot faster than they do. I reckon 3 hours is pretty good going!

And as you take the precaution of hiding behind the "anonymous" name whereas we are all easily identifiable, could I respectfully suggest that making comments like that is not very nice. Feel free to PM me if you wish to take it further.

M23

comment:5 Changed 10 years ago by Melba23

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

Fixed by revision [11072] in version: 3.3.13.20

comment:6 Changed 10 years ago by anonymous

Melba23, release version with this bugs are "that is not very nice"

And i wont to ask you.. You've written tests for this udf?
I want to know that such things no longer appear in the next version

Tnx. From all "anonymous"

P.s anonymous -is the all users of AutoIt.

P.s 2. Tnx for fix.

comment:7 Changed 10 years ago by Melba23

In case you have not realised, everyone who works on AutoIt is a volunteer and very few of us have any connection with professional software development. We try not to behave like amateurs and we do test our code before it is released, but as with ALL software there will be bugs. So asking that we release bug-free code is not really a sensible request as it will never happen. What we do offer is the chance for you to report any bugs you find and then to fix them as quickly as we can.

So I suggest you review your extremely unpleasant attitude towards both AutoIt and its development team. I notice you still hide behind your "anonymous" tag - so I shall not bother to reply further, other than to point out that you paid nothing to use AutoIt and if you decide that it is not good enough feel free to switch to another scripting language. You will not be missed.

M23

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 Melba23.
Author


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

 
Note: See TracTickets for help on using tickets.