<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Get Lines and Text > Get_Text_Lines |
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:
• IEF. / NEF. - If - exist - File