Re: NQAR2 ?? Attention MIC
- Posted by "mic _" <stabmaster_ at hotmail.com> Nov 07, 2003
- 668 views
Seems like there are some problems with the linefeeds. I don't remeber that happening before... Change read_line() in makelib.ex to this and it should work: function read_line(integer infile) integer read,ch currLine = {} read = 0 while 1 do ch = getc(infile) if ch = -1 then exit elsif ch = #0A then ch = getc(infile) exit elsif ch != #0D then currLine &= ch read += 1 end if end while return read end function