<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Push / Pop > Push_Intern |
MiniRobotLanguage (MRL)
TXT.Pus
TXT.Push_Intern
Move the Content of the TXT.-internal Buffer into a internal Place that is numbered from 0 to 9.
The Content of the TXT.-Buffer will be deleted after the Content has been moved.
Intention
This command is used to make a complete Backup of the currently loaded Text into an internal Variable that is numbered from 0 to 9.
Therefore the Text can be restored using the TXT.Pop_Intern or the TXT.Pop_Keep - Command.
The Content of the TXT.-Buffer will be cleared after the Content has been moved to the internal place.
' Load Textfile into internal Buffer for further TXT.-Command Operations
' ($$RES is 0/1 success)
TXT.Load_Textfile|$$FIL|$$RES
' Reserve speichern
TXT.Push_Keep|0
' We have now a Backup of the Textfile in internal Place "0".
' It can be restored - overwriting the current Buffer-Content using:
TXT.Pop_Keep|$$LAD
Syntax
TXT.Pus[|P1]
TXT.Push_Intern[|P1]
Parameter Explanation
P1 - (Input) Number or Variable with number. Can be any Number between 0 and 9.
If omitted the place "0" is used.
Example
'*****************************************************
'
'*****************************************************
Remarks
-
Limitations:
-
See also:
• Pop_Keep