Get the App
SLTechnology News&Howtos  ›  Development  › 

Introduction to the function of VBscript statement

Shulou Source: shulou.com Published: 2022-06-03 19:37:51 10月03日 Update

This article introduces the knowledge of "introduction to the function of VBscript sentence". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

The description language element gives control to a Sub or Function process. The Call statement declares the name of a class. The Class statement declares the constant used to replace the literal value. The Const statement declares variables and allocates storage space. Dim statement repeats a block of statements when a condition is True or before a condition becomes True. The Do...Loop statement reinitializes the elements of a fixed-size array and frees up storage space for dynamic arrays. The Erase statement executes one or more specified statements. The Execute statement executes one or more statements in the global namespace of a script. The ExecuteGlobal statement exits the Do...Loop, For...Next, Function, or Sub code block. Exit statements execute a set of statements repeatedly for a specified number of times. The For...Next statement repeats a set of statements for each element in an array or collection. The For Each...Next statement declares the name, parameters, and code of a Function procedure. Function statements conditionally execute a set of statements based on the value of an expression. The If...Then...Else statement activates error handling. The On Error statement forces the variables used in a script to be explicitly declared. The Option Explicit statement declares private variables and allocates storage space. The Private statement declares the name, parameters, and code of a Property procedure that gets (returns) the value of a property. The Property Get statement declares the name, parameters, and code of a Property procedure that specifies the value of an attribute. The Property Let statement declares the name, parameters, and code of a Property procedure that sets a reference to an object. The Property Set statement declares public variables and allocates storage space. The Public statement initializes the random number generator. The Randomize statement declares dynamic array variables and allocates or reassigns storage space at the procedure level. The ReDim statement includes explanatory notes in the program. The Rem statement executes one or more sets of statements based on the value of an expression. The Select Case statement assigns an object reference to a variable or property. The Set statement declares the name, parameters, and code of a Sub procedure. The Sub statement executes a series of statements when the condition is True. The .While.Wend statement executes a series of statements against a single object. With statement

Undefined

This is the end of the introduction to the function of VBscript sentence. Thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Statement procedure code variable name space parameter allocation storage array condition element object attribute function content dynamic multiple more knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Docker NVidia Apple Shulou Tech Info