View errors and warnings

If you introduce some errors in the program, you can see how Visual Studio displays information about the problems.

  1. Open sub.pli in the editor.
  2. Add a1 = fred; to the source code.
  3. Remove end sub;.
  4. Add Invalid command.
  5. Save your changes.
  6. Rebuild the solution.

Check the Error List window to see that two errors and two warnings have been reported. You can go directly to the errors in the code by double-clicking the error messages in the window.

Revert the changes by pressing Alt+Backspace several times and rebuild.