I am using the following code to write to a file.
Open gstrTxPCDir & gstrTxPCFileName For Append As #TextDLFNum
Some Code
Print #TextDLFNum, gstrRxLineInput
Some Code
Close #TextDLFNum
All works fine except:
The above code always puts a linefeed at the end of each line. In some cases I need to write the last line without a line feed.
How can I do that?:confused:
Open gstrTxPCDir & gstrTxPCFileName For Append As #TextDLFNum
Some Code
Print #TextDLFNum, gstrRxLineInput
Some Code
Close #TextDLFNum
All works fine except:
The above code always puts a linefeed at the end of each line. In some cases I need to write the last line without a line feed.
How can I do that?:confused: