Hi!
It comes from the deep dark times of MSDOS programs and MSDOS files. When they;re printed to printer, it required 2 codes: CR - Carriage Return (code 13) - to move to the first position in the line, and LF - Line Feed (code 10) - to move to next line (scroll 1 line printer paper). Without LF code printer continue printing in the same line overriding text of previous line.
Some text processors and text editors currently are very picky to this requirement and recognize only combination of CRLF codes. Most systems, however, recognize all combinations: CR, LF, CRLF and LFCR as the end of the line. VFP memo field is not that picky.
HTH.
>strtofile(filetostr(copyup_to + "\File1.txt") + chr(13) + chr(10) + filetostr(File1_copyup_from), copyup_to + "\File1.txt")
>
>I have the previous statement used for two different file concatenations (obviously the second one has different file names).
>
>File1 was created with FCREATE and FPUTS. When I use the above statement to concatenate i end up with a blank line between the two file inputs. What does chr(10) do? I have looked in the HELP and can not find anything in INKEY().
>
>Thanks
>
>Brenda
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.