InsertLine

Top  Previous  Next

Inserts text into the file at a specified line.

 

Syntax:

function InsertLine(Index: Integer; Value: string);

 

Description:

Index is the line index at which to insert the Value string.  Note that line indexes are 0-based, so line 1 has an index of 0, line 2 has an index of 1, and so forth.

 

Example:

 

scripting_ttextfile_insertline