[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Typo?


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


Follow-Ups:
Re: Typo?Fabien Bodard <gambas.fr@xxxxxxxxx>
References:
Typo?Gianluigi <gradobag@xxxxxxxxxxx>
Re: Typo?Bruce Steers <bsteers4@xxxxxxxxx>