Set_Text_Lines

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > TXT. Text-File Engine > Insert/Delete Text >

Set_Text_Lines

TXT.stl

Previous Top Next


MiniRobotLanguage (MRL)

 

TXT.stl

TXT.Set_Text_Lines
Replace a number of Lines with the P3

 

 

 

Intention

 

This command is used to replace a block of Text-Lines from (and including) Line P1 to (and including) Line P2 with the content of P3.

 

' Untested

 

 

Syntax

 

 

TXT.stl|P1|P2|P3

TXT.Set_Text_Lines|P1|P2|P3

 

 

Parameter Explanation

 

P1 - (Input,numeric) Variable with Line-Number of the first Line that will be replaced.

P2 - (Input,numeric) Variable with Line-Number of the last Line that will be replaced.

P2 - (Input) Variable with the new Lines or Text that will be inserted.

 

 

Example

 

'*****************************************************

'

'*****************************************************

 

 

 

Remarks

 

-

 

Limitations:

 

-

 

 

See also:

 

  TXT.Load Textfile

  TXT.Clear

  TXT.From_Var

  TXT.Load_pure_Text

  TXT.Get_pure_Text

  FIL.Generate numbered Name

  FIL.Move numbered File

  ATF - Append-to-File

  CFF. - Copy-From-File

  CTF - Copy-To-File

  COP. - Copy File

  TXT.Get_Filename

  TXT.Get_Lenght

  TXT.To_Var_and_Clear

  GLC. - Get-Line-Count

  TXT.Get_Line

  IEF. / NEF. - If - exist - File

  LFF - Line-From-File

  WFF. - Wait-For-File

  TXT.Set_Line_to