Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
each piece of data is passed in your process using an argument arguments serve like placeholders for the data you wish to pass into your process you
this is a series of vbscript statements enclosed through the function amp end function statements a function procedure is same to a sub procedure
a sub procedure is a series of vbscript statements enclosed through sub amp end sub statements which perform actions however dont return a value a
a for eachnext loop is similar to a fornext loop rather than repeating the statements a particular number of times for eachnext loop repeats group of
you can employ fornext statements to run a block of statements a specific number of times for loops employ a counter variable whose value is
in vbscript the whilewend statement is provided for those who are familiar along its usage however due to the lack of flexibility in whilewend it is
you can exit a doloop using the exit do statement since usually you desire to exit only in certain situations such as to ignore an endless loop you
you can employ until keyword in two ways to verify a condition in a doloop statement you can verify the condition before you enter the loop as
you can employ doloop statements to run a block of statements indefinite number of times the statements are repeated either whilst a condition is
using loops to repeat codelooping let you to run a group of statements repeatedly some loops repeat statements till a condition are false others
the select case structure provides an option to ifthenelse if for selectively executing one block of statements from amongst multiple blocks of
a variation on the ifthenelse statement lets you to choose from various alternatives by adding up else if clauses expands the functionality of the
you can control the flow of your script with conditional statements amp looping statements by using conditional statements you can write vbscript
while several operations take place in an expression each part is evaluated amp resolved in a predetermined order called operator precedence you can
vbscript operatorsvbscript contain a full range of operators including comparison operators arithmetic operators concatenation operators and logical
in vbscript you create user-defined constants using the const statement it lets you create string or numeric constants along with meaningful names
a constant is a meaningful name which takes the place of a number or string and never alters vbscript described a number of intrinsic constants you
mostly time you just desire to assign a single value to a variable you have declared a variable having a single value is a scalar variable at other
assigning values to variablesvalues are assigned to variables creating an expression as follows the variable is on the left side of the expression
the scope of a variable is finding out by where you declare it while you declare a variable in a procedure only code in that procedure can access or
for naming anything variable names follow the standard rules in vbscript a variable nameshould begin with an alphabetic charactercannot have an
you declare variables explicitly in script via the dim statement the public statement amp the private statement for illustrationdim
a variable is convenient placeholder which refers to a computer memory location where you can store program information which may change when your
beyond the simple string or numeric classifications variant can make added distinctions regarding the specific nature of numeric information for
this section will discuss the fundamentals of vbscript and define concepts such as datatypes loops and othersvbscript data typesvbscript contain only