<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Push / Pop > Pop_Keep |
MiniRobotLanguage (MRL)
TXT.Pok
TXT.Pop_Keep
Copy the TXT.-internal Buffer from an internal Place that is numbered from 0 to 9.
The Content of the internal Place will not be altered.
Intention
This command is used to restore a complete Backup of the currently loaded Text from an internal Variable that is numbered from 0 to 9.
Therefore the Text must have been "saved" using the TXT.Push_Intern or the TXT.Push_Keep - Command.
The Content of the internal Place will not be altered, after it was moved back into TXT.-Buffer.
' Load Textfile into internal Buffer for further TXT.-Command Operations
' ($$RES is 0/1 success)
TXT.Load_Textfile|$$FIL|$$RES
' Reserve speichern
TXT.Pus|1
' We have now a Backup of the Textfile in Internal Storage "1".
' It can be restored - overwriting the current Buffer-Content using:
TXT.Pop|1
Syntax
TXT.Pok[|P1]
TXT.Pop_Keep[|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