sprintf does not output anything. Maybe you wanted printf? Also, the byte you read from the file needs to be converted to a number before you can output it via %u. Most likely you want ord or unpack for that.
In reply to Re: I don't understand string versus numeric context
by Corion
in thread I don't understand string versus numeric context
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |