Microsoft® Visual Basic® Scripting Edition
Rem Statement
Language Reference

 

Description
Used to include explanatory remarks in a program.

Syntax
Rem comment

or

' comment

The comment argument is the text of any comment you want to include. After the Rem keyword, a space is required before comment.

Remarks

As shown in the syntax section, you can use an apostrophe (') instead of the Rem keyword. If the Rem keyword follows other statements on a line, it must be separated from the statements by a colon. However, when you use an apostrophe, the colon is not required after other statements.


© 1997 Microsoft Corporation. All rights reserved. Legal Notices.

Casa de Bender