Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q7008 How Do I Make Remarks In My Code?

irt.org | Knowledge Base | VBScript | Q7008 [ previous next ]

Q7008 How Do I Make Remarks In My Code?

Use the Rem keyword or a single apostrophe ( ' ). If the Rem keyword follows code on a line, it must be separated from the code by a colon. However, when you use an apostrophe, the colon is not required. For example:

		Dim myArray() : Rem  A colon is needed because it follows code on the same line
		For X = 2 to 8  ' No colon is needed for an apostrophe.
		Rem All text on this line will not be interpretted... IF Y=X Then

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.