1) No need to go to 300, since the maximum number of ascii characters is 256 (character codes 0 - 255)
There are some codes that will not write properly
examples:$chr(3) - Ctrl +K
$chr(10) - Line feed
$chr(13) - Return/Enter key
Those are one's I run across many times, so I have them memorized. I also have (or had) a chart that showed all of the ascii codes and what they correspond to. I'll see if I can find it, get it scanned, and post it via ImageShack for anyone to reference.