Get_Text_Block

<< Click to Display Table of Contents >>

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

Get_Text_Block

TXT.Gtb

Previous Top Next


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:

 

  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