<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Push / Pop > Append_to_Internal |
MiniRobotLanguage (MRL)
TXT.api
TXT.Append_to_Internal
Append the Content of the TXT.-internal Buffer to an internal Place that is numbered from 0 to 9.
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 to first Text
TXT.api|0
TXT.dbp|0
ENR.
Syntax
TXT.api[|P1]
TXT.Append_to_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:
• Pop_Keep