Re: NQAR2 ?? Attention MIC

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu