Hi,

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

Regards
Christoph