OK I fixed the IOExts not found problem (-package lang) but my problem now is that I never worked with handles. How can I write the string to the file and so on?? Where can I find more info on handle data types??
Best Regards NooK ----- Original Message ----- From: "Glynn Clements" <[EMAIL PROTECTED]> To: "Alexandre Weffort Thenorio" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 2:02 AM Subject: Re: How to force UNIX text files as output instead of DOS text files?? > > Alexandre Weffort Thenorio wrote: > > > I am working on a small program which writes a text file but I need this > > file to be in UNIX format and as it is a Windows program I am compiling > > it, the output file tends to be in DSO format. Is there anyway that I > > can force it to create the file in UNIX format??? > > Use openFileEx, e.g.: > > import IOExts > ... > handle <- openFileEx filename (BinaryMode WriteMode) > > -- > Glynn Clements <[EMAIL PROTECTED]> > _______________________________________________ > Haskell mailing list > [EMAIL PROTECTED] > http://www.haskell.org/mailman/listinfo/haskell > _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
