Well... I've managed to fix the bug. However, I don't think I'll be any match to you guys: I've just finished the permutation generation code, and am already running at 277!! When I add the operators, parentheses and tests, I'll be WAY over the current results... [Frown]

Anyway, I'll try and finish this one... I may be leaving KiXtart and this forum real soon.
_________________________
Later,   [b]Mad[/b]ruga