VBScript Variables
Tour : VBScript Variables
Step 1. What is VBScript Variables?
Step 2. How to declare Variables?
Step 3. Rules for Declaring Variables
Step 4. How to Assigning Values to the Variables
Step 5. Rules for Assigning Values
Step 6. Output of all previous steps
Step 7. Life of Variables
Step 8. VBScript Array Variables
Step 9. Visit GoLearningBus.Com for more "www.vbsedit.com" training
1. What is VBScript Variables?
VBScript has only one data type called a Variant. Variants is a special kind of data type that can contain different kinds of information, depending on how it is used.Variables are declared using “dim” keyword. Since there is only ONE fundamental data type.
2. How to declare Variables?
Variables are declared using “dim” keyword. Since there is only ONE fundamental data type.In this Example we declare three variables. which can be used as string, integer or date type.
3. Rules for Declaring Variables
Before declareing any new variable you must need to know about some basics variable declaration rules, like :
1) Variable Name must begin with an alphabet.
2) Variable names cannot exceed 255 characters.
3) Variables Should NOT contain a period(.)
4) Variable Names should be unique in the declared context.
4. How to Assigning Values to the Variables
Values are assigned similar to an algebraic expression. The variable name on the left hand side followed by an equal to (=) symbol and then its value on the right hand side.
5. Rules for Assigning Values
Before assigning any value to variable we must knows the following things:
1) The numeric values should be declared without double quotes.
2) The String values should be enclosed within doublequotes(")
3) Date and Time variables should be enclosed within hash symbol(#)
6. Output of all previous steps
In Previous steps we see how to declare variables , assign value to them and their related rules.Now here you can see the output of all declared variables value in msgbox.
7. Life of Variables
When you declare a variable within a procedure, the variable can only be accessed within that procedure. When the procedure exits, the variable is destroyed. These variables are called local variables. You can have local variables with the same name in different procedures, because each is recognized only by the procedure in which it is declared.If you declare a variable outside a procedure, all the procedures on your script can access it. The lifetime of these variables starts when they are declared, and ends when the script is closed.in this example you can see the scope of variables. Procedure Variable will not accessible at outside of function.
8. VBScript Array Variables
An array variable is used to store multiple values in a single variable.In this example you can see the one dimension array. you can also create the multi dimension array as well in vbs.In this example you can see how to declare the Array variable
9. Visit GoLearningBus.Com for more "www.vbsedit.com" training
Visit GoLearningBus.Com for more "www.vbsedit.com" guided tours and training. For only $10 you can access more than 300 apps for a lifetime of learning and training.
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «VBScript Variables», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.