Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The usage of Rem statement in VBS

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "the usage of Rem sentence in VBS". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "the use of Rem sentences in VBS".

Contains explanatory comments in the program.

Rem comment

Or

'comment

The comment parameter is the comment text that needs to be included. There should be a space between the Rem keyword and comment.

Description

As shown in the Syntax section, you can replace the Rem keyword with single quotation marks ('). If the Rem keyword and statement are on the same line, you need to separate them with a semicolon. However, if you use single quotes, you do not need to use semicolons between single quotes and statements.

The following example illustrates how to use the Rem statement:

Dim MyStr1, MyStr2MyStr1 = "Hello": Rem statements and comments are separated by colons. MyStr2 = "Goodbye" 'this is also a comment without a colon. Rem doesn't have to use colons to comment lines that don't have code. At this point, I believe you have a deeper understanding of "the use of Rem sentences in VBS". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report