Syntax
| Debug.Clear
-or-
Debug.Print [expr[; ...][;]]
|
---|---|
Description
| Form 1: Clear the output window.
Form 2: Print the expr(s) to the output window. Use ; to separate expressions. A num is it automatically converted to a string before printing (just like Str$). If the instruction does not end with a ; then a newline is printed at the end.
|
See Also
| |
Example
| Sub Main
X = 4
Debug.Print "X/2=";X/2 ' 2
Debug.Print "Start..."; ' don't print a newline
Debug.Print "Finish" ' print a newline
End Sub
|