jaycee99
20th July 2009, 09:23
Is there any command for "NO New Line Added after the last line print out" ?

For example:
Current Output:

This is the output
<New Line Added>

Actual Output:

This is the output
<No New Line Added>


function write.record()
{
str.trec = "This is the output"
seq.puts(str.trec, fname)
}

-------------------------------------------------

Trying another method, which is:

str.trec = "This is the output"
seq.gets(str.trec, len(str.trec), fname, GETS_SKIP_ALL)

Why nothing is print out?

jaycee99
20th July 2009, 11:45
Use seq.write() for the solution