in reply to Re^2: formats output \r\n questionin thread formats output \r\n question
$\ is the output record seperator for just the print operator (and not formats). You're probably better off using sprintf instead of formats.