PCs use a combination of a CR (13) and LineFeed (10) as their end of line character. You would have to manually insert the appropriate EOL delimiter within your code, or use one of many processing utilities to convert the file for use by DOS-heads. BBEdit will do this--there is a shareware package called AddStrip which can batch-process files based on user-defined parameters in order to do things such as this. I am sure there are many others out there that are capable of this. The EOF character for PC files is, I believe, a Control-D (from memory, so YMMV). Chris Young ______________________________ Reply Separator _________________________________ Subject: [FB] Writing file for DOS and Mac Author: mailhost.day.ameritech.net@mx.tellabs.com Date: 3/25/98 4:28 AM Our VAX has limited reporting capacity so I have been volunteered to take a massive report that the VAX does and create smaller files for various staff members that can be imported into their statistics program. No problem, I've done this plenty of times. The catch is that some people use PCs and some use Macs. I know that PCs use a different end of line delimiter than the Mac. ie, when I PRINT a line of comma delimited data to a file - the Mac will read that line of data and know that the next line is a different record. The PC won't because the PRINT statement doesn't put the correct delimiter at the end of the line. I think there might be a similar problem with the end of file, but it's been so long since I've written for cross platform that I don't remember. Can anyone give me a hand with this? thanks david -- To unsubscribe, send ANY message to