Get_Text_Lines

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > TXT. Text-File Engine > Get Lines and Text >

Get_Text_Lines

TXT.Gtls

Previous Top Next


MiniRobotLanguage (MRL)

 

TXT.Get_Text_Lines

TXT.Gtls
Return a number of Lines staring from the specified Line-Number to the second specified Line-Number from the TXT.-internal Buffer.

 

 

 

Intention

 

This Command is used to get a specified Part from the Text that is in the Internal TXT-Buffer into a Variable.

Variable P1 will contain the Line Nr. of the first Line, and P2 will contain the Line-Number of the last line.

 

' Get Lines from 10 to 90 out of the TXT.-Buffer

TXT.gtls|10|90|$$LIS

PRT.$$LIS

MBX.!

 

 

Syntax

 

 

TXT.Gtls|P1|P2[|P3]

TXT.Get_Text_Lines|P1|P2[|P3]

 

 

Parameter Explanation

 

P1 - (Input,numeric) Variable with starting Line-Number.

P2 - (Input) Variable with the ending Line-Number.

P3 - (Output) Variable for the result.

 

 

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