Example - Print Method

Note that the PC-DMIS Basic Script Editor does not have a compiler messages window, terminal window, or debug window to see print messages.

  1. Sub PrintExample ()

    1. 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