Document with Remarks

A remark is a message that you put inside program code. Programmers concerned with maintenance or future modifications know that ample remarks help verify code. Visual Basic ignores remarks, and users don't see them because users don't see the program's code.

Programmers often add remarks to their programs for the following purposes:

  • To state the programmer's name and the date that the program was written.

  • To describe the overall goals of the program.

  • To describe the goal of a particular procedure.

  • To explain tricky or difficult statements so that others who modify the program later can understand the lines of code.

Even if you write programs for yourself and are the only one who will modify your programs, you should still ...

Get Absolute Beginner's Guide to Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.