<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Get Lines and Text > Get_Text_Block |
MiniRobotLanguage (MRL)
TXT.Get_Text_Block
TXT.Gtb
Return a Part from the TXT.-internal Buffer into a Variable, specified with a Start- and End-Byte.
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 starting Byte number and P2 will contain the last Byte number.
' Get Lines from 10 to 90 out of the TXT.-Buffer
TXT.gtb|10|900|$$LIS
PRT.$$LIS
MBX.!
Syntax
TXT.Gtb|P1|P2[|P3]
TXT.Get_Text_Block|P1|P2[|P3]
Parameter Explanation
P1 - (Input,numeric) Variable with starting Byte-Number.
P2 - (Input) Variable with the ending Byte-Number.
P3 - (Output) Variable for the result.
Example
'*****************************************************
'
'*****************************************************
Remarks
-
Limitations:
-
See also:
• IEF. / NEF. - If - exist - File