in reply to Print command not working in script
You are reading 32 bytes at a time, not 32 bits. And you are using addition on strings not numbers, which makes no sense.