if ascan() is used with mode = 1 and the scanned array contains empty elements, ascan always treats the empty elements like elements of matching value, i.e. returns the position of the first empty element instead of "-1" if the array doesn't contain a matching value. Affected versions: 4.52, 4.53 This topic has been discussed here: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=176245&page=1#Post176245
#177977 - 2007-07-1603:10 PMRe: ascan bug with mode = 1
[Re: Ruud van Velsen]
MartMart KiX Supporter
Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Just an FYI to all. The code above produces the correct results in version 4.60 beta1 of kixtart running on WinXP pro SP2 UK so it seems that this issue is fixed.