Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > Print Method > Example - Print Method
Current Help File: PC-DMIS Basic (View Core Help)
Example - Print Method
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' Print the results in the Compiler Messages window
End Sub