[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Typo?
[Thread Prev] | [Thread Next]
- Subject: Re: Typo?
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Mon, 17 Nov 2025 15:23:50 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 17/11/25 15:11, Bruce Steers ha scritto:
I didn't check the context of the code but that looks pretty normal to me.Maximum allowed array Index would normally be Count - 1 so "If Index >= $iCount" makes sense to be a bad index value.Or do you see another reason the code may be wrong?If i was to fix any typo it would be to say "Bad index" not "Bad argument" just to be more descriptive.
You're too quick to respond, I'm like a sloth. :-) See attached image Best regards Gianluigi
Attachment:
bad-arg.jpg
Description: JPEG image
| Re: Typo? | Fabien Bodard <gambas.fr@xxxxxxxxx> |