WriteLine( )
| Action: | Appends
a line to the end of the file indicated by File Number. If WriteLine
encounters an error, @ERROR is set to the relevant error code. |
||||||||||
| Syntax: | WriteLine
(FileHandle, “LineToWrite”) |
||||||||||
| Parameters: |
FileHandle
LineToWrite
|
||||||||||
| Remarks: |
WriteLine does not automatically append a
<Carriage Return> and <Line Feed>, so if you want to write
this, you should add it to the string, as in: $LineToWrite + @CRLF. |
||||||||||
| Returns: |
|
||||||||||
| See Also: |
Close(
), FreeFileHandle(
), Open( ),
ReadLine( ),
ReadProfileString( ), WriteProfileString(
)
|
||||||||||
| Example: |
IF Open( 3 , "C:\TEMP\LOG.TXT" ,
5 ) = 0 |