Richard,

I don't think you need 10,000 combos for validation won't this give all the valid combos:

code:
 
for $a=0 to 9
for $b=$a to 9
for $c=$b to 9
for $d=$c to 9
$m=Test24($a,$b,$c,$d)
next
next
next
next

Howard,

If you use a split like richard did for defining the operator array don't you save 2 characters?

[ 24. September 2002, 14:57: Message edited by: Jack Lothian ]
_________________________
Jack