Control statements, Visual Basic Programming

CONTROL STATEMENTS 

The conditional expression uses a comparison operator that results in true or false value. If the comparison is valid the outcome is true, or else the outcome is false. Here's an easy conditional expression:

Price < 100

If the Price variable holds a value that is less than 100, the expression computes to True. If the Price holds a value that is greater than or equal to 100, it computes to False. You can use the comparison operators shown below to create the conditional expressions:

Comparison Operators:

= Equal to

< > Not equal to

> Greater than

< Less than

> = Greater than or equal to

< = Less than or equal to

If then Else, Select case, For.. Next repetition statement, Do While loop statement and Do until the loop control statements are elaborated.

Posted Date: 10/9/2012 8:20:07 AM | Location : United States







Related Discussions:- Control statements, Assignment Help, Ask Question on Control statements, Get Answer, Expert's Help, Control statements Discussions

Write discussion on Control statements
Your posts are moderated
Related Questions
DATA CONTROL The data control is used to connect to the database. Three properties are very necessary to connect to the database. The primary property is the database name. You

FILES IN A VB PROJECT The project file has the.vbp extension. The form in which we draw has the .frm extension; .mod denotes the module file; .cls denotes the class file; .res

Variant Type: If no data type is related with the VB variables, it takes the default variant type. The variable x will be of the variant type when the two declarations below a

Develop a web page that is used for accepting information regarding stocks. Make sure the form carry out the possible validations. The simple instance code below merely illustrates

Aim: To exhibit what is the day when the second command button is clicked and to clear the screen when the first command button is clicked. The functioning of this program is

what are the things that information system can do and their limitations?

i want to use two forms in vb.net. when the progress bar in form1 reaches on a specific value then disable form1 and progress bar will stop and the second Form2 will popup which wi

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

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

DYNAMIC LINK LIBRARY - DLL   The DLL are files which can be called when required by the other program that is running in the computer. The DLL files which support the specific