|
| KiXtart 2001 Manual |
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
(file number, “linetowrite”) |
||||||||||
| Parameters: |
File
number
LineToWrite
|
||||||||||
| Remarks: |
WriteLine does not automatically append a
<Carriage Return>, so if you want to write a <Carriage
Return>, you should add it to the string (as in : $LineToWrite +
Chr(13) + Chr(10)). |
||||||||||
| Returns: |
|
||||||||||
| See Also: |
Close(
), Open( ),
ReadLine( ) |
||||||||||
| Example: |
IF Open( 3 , "C:\TEMP\LOG.TXT" ,
5 ) = 0 |