<< Click to Display Table of Contents >> Navigation: 3. Script Language > TXT. Text-File Engine > Other Commands > DebugPrint |
MiniRobotLanguage (MRL)
TXT.dbp
TXT.DebugPrint
Dump/Print the internal Buffer into the SPRE-Debug-Window
Intention
This command makes only sense when used from the SPR-Editor.
It will print the complete TXT.-Buffer into the Debug-Window of the SPRE.
There are two ways to use the command:
1. Do not specify any Parameter.
In this case the command will Print the complete TXT.-Buffer in the Debug-Window of the SPRE.
' 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
TXT.dbp
' Save Reserve to internal Memory Place "0"
TXT.Push_Intern|0
ENR.
2. Specify an Numeric Parameter P1 (0-9)
In this case the Command will Print the content of the Internal Memory Locations (IML) 0-9.
' 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
TXT.dbp|0
ENR.
Syntax
TXT.dpb
TXT.DebugPrint
Parameter Explanation
P1 - (Input) Number or Variable with number. Integer Number between 0 and 9.
If omitted the command will print the TXT.-Main Buffer.
Example
'*****************************************************
'
'*****************************************************
Remarks
-
Limitations:
-
See also:
• IEF. / NEF. - If - exist - File