Vb script basics, Visual Basic Programming

Assignment Help:

This section will discuss the fundamentals of VBScript and define concepts such as datatypes, loops and others.

VBScript Data Types

VBScript contain only one data type called a Variant. A Variant is a special type of data type which can contain distinct kinds of information, based on how it is used. Since Variant is the only data type in VBScript, this is also the data type returned through all functions in VBScript.

At its simplest, a Variant can have either string or numeric information. A Variant acts as a number while you employ it in a numeric context and string while you employ it in a string context. That is, if you are working along with data that looks like numbers, VBScript suppose that it is a number and does whatever is most suitable for numbers. Likewise, if you are working with data which can only be string data, VBScript treats it like string data. Always you can make numbers behave as strings through enclosing them in quotation marks (" ").


Related Discussions:- Vb script basics

Application to count the number of possible triangles, A triangle is equila...

A triangle is equilateral if all three sides are equal, isosceles if any two (but no more than two) sides are equal, and scalene if no two sides are equal. A triangle will be input

Variable naming conventions, For reason of readability & consistency, emplo...

For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

Hangman, how to add the hangman images

how to add the hangman images

How to include list box control in visual basic project, How to Include Lis...

How to Include List Box control in your project A list box is used for representing the users with a data. You can prefer the data from the list box for data entry. No editing

Sum of numbers Calculator with Tryparse, I need assistance with writing the...

I need assistance with writing the Tryparse I have 98% of the assignment done.

Genetics, GENETICS 1.         The branch genetics started in 1900 after...

GENETICS 1.         The branch genetics started in 1900 after rediscovery of Mendel's work. 2.         Gregor Johann Mendel is called Father of genetics. 3.         The t

Check whether a number is palindrome or not, Function IsPalindrome(str) ...

Function IsPalindrome(str) Dim iStart,iEnd,ctr,blnPalin str=trim(str) blnPalin=true iEnd=len(str) iCnt=round(iEnd / 2) iStart=1 for ctr=1 to cint(iCnt) if(mid(str,iEnd,

Storage and retrieval systems, STORAGE AND RETRIEVAL SYSTEMS   The sto...

STORAGE AND RETRIEVAL SYSTEMS   The storage system is a depository. It is a physical container and gives mechanisms to put in the depository and take them back. The retrieval

Using procedure and exception handling, I was looking solution for assignme...

I was looking solution for assignment named Alamo Tour

Data types - windows programming, Data types: The New data types were ...

Data types: The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd