6 Feb
2006
6 Feb
'06
2:48 p.m.
Hello , seems that WinHugs hates to do binary I/O :))) Main> putChar (chr 255) я Program error: <stdout>: Prelude.putChar: does not exist (file does not exist) the same problem in this program: import System.IO import Data.Char main = do h <- openBinaryFile "test" WriteMode hPutChar h (chr 255) hPutChar h 'a' -- never executed -- Best regards, Bulat mailto:bulatz@HotPOP.com