<< Click to Display Table of Contents >> Navigation: 3. Script Language > Debugging - Commands > Debugging Commands |
MiniRobotLanguage (MRL)
DBV. Command
Debug Print Variable
Intention
This command is used to print debug variables in the debug-window of the editor.
Unlike DBP - Debug Print, specialfoldersand systemvariables will not be resolved.
DBV. will be ignored, if the script is not running from within the editor. This way, Debug-Messages will not be see from an compiled executable.
Here is a good example what DBV. is useful for. You want to know what is the content of this variable. But the content should not be resolved, just be displayed. This is where DBV. takes place.
VAB.$$NAM=Rainer
VAB.$$TXT=$$NAM
DBV.$$TXT
ENR.
' Output is "$$NAM"
' Special folders are not resolved
: $$TXT=?path\Logfile.log
DBV. My variable is: $$TXT
You will get this output:
Syntax
DBV.P1
Parameter Explanation
P1 - Any text or variables you want to print in the
Editor-Debug-Window.
Example
'*****************************************************
' EXAMPLE : DBV.
' Run from the Editor!
'*****************************************************
: $$TXT=?path\Logfile.log $$TXT
DBV. My variable is: $$TXT
ENR.
MBX.Ready
'*****************************************************
Remarks
-
Limitations:
-
See also:
• DIP. - Delayed Instruction Processing
• DMP. - Dump internat Informations