in reply to loop/substitution problem

I agree with Corion and with a lot of others here: trying to obfuscate your source code is futile. There are laws to protect your IP, use them instead of resorting to that kind of silly trick: