Print Method

 

Print [expr, expr...]  Print a string to an object.

 

Related Topics:

 

Example:

 

Sub PrintExample ()

    Dim Msg, Pi         ' Declare variables.

    Let Pi = 4 * _Atn(1)       ' Calculate Pi.

    Msg = "Pi is equal to " & Str(Pi)

    MsgBox Msg             ' Display results.

    Print Pi         ‘Pints the results in the

' compiler messages window

End Sub