Append_from_Internal

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > TXT. Text-File Engine > Push / Pop >

Append_from_Internal

TXT.api

Previous Top Next


MiniRobotLanguage (MRL)

 

TXT.afi

TXT.Append_from_Internal

Append the Content of an internal Place that is numbered from 0 to 9 to  the TXT.-internal Buffer.

 

 

 

Intention

 

This Command is used to Append either the TXT.-Buffer or a specified Variable to the specified Memory (0-9).

Later the whole Memory can be restored using the TXT.Pop_Intern or the TXT.Pop_Keep - Command.

The Content of the TXT.-Buffer will NOT be changed using this Command.

 

' Generate 5 Lines of Text A

$$TXA=ABCDEF$crlf$

$$TXB=$$TXA$$TXA$$TXA$$TXA

' Generate 5 Lines of Text B

$$TXC=123456$crlf$

$$TXD=$$TXC$$TXC$$TXC$$TXC

 

' Load first Text into TXT.-Buffer

TXT.Load_Pure_Text|$$TXB

' Save Reserve to internal Memory Place "0"

TXT.Push_Intern|0

 

' Load second Text into TXT.-Buffer

TXT.Load_Pure_Text|$$TXD

 

' Append it 

TXT.afi|0

DBP.Internal Memory 0

TXT.dbp|0

DBP.Main Buffer

TXT.dbp

ENR.

 

 

clip0375

 

Syntax

 

 

TXT.afi[|P1]

TXT.Append_from_Internal[|P1]

 

 

Parameter Explanation

 

P1 - (Input) Number or Variable with number of Internal Memory. Can be any Number between 0 and 9.

    If omitted the place "0" is used.

 

P2 - (Input,optional) Text. If given this will be appended to the Internal Memory. If omitted the current TXT-Buffer will be appended.

 

 

Example

 

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

'

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

 

 

Remarks

-

 

Limitations:

 

-

 

 

See also:

 

•   !TXT. - Text File Engine

•   Append_to_Internal

•   Pop_Intern  

•   Push_Keep

•   Pop_Keep

•   Clear_Intern

•   TXT.Load Textfile

•   TXT.Clear  

•   TXT.To_Var

•   TXT.From_Var

•   TXT.To_Var_and_Clear

•   TXT.Get_Filename

•   TXT.Get_Lenght