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
The objective of this unit is to describe the basics of VBScript. After completing this unit, you will be capable to write code for Web pages via VBScript. You will be able to unde

Creating an application that will calculate the cost of a car rental based on the number of days that the car is rented. the cost of the car rental includes the cost of the car its

Software That Is Obscure: The Software hides the intensions, meaning and actions from the user. For illustration, if a user is asked whether a full installation, the custom in

MODULE The Modules are the collection of VB statements. Modules are used to simplify the program development. To add a module to your project, choose the project tabpage, and t

CLASS WIZARD The Class wizard shown in figure is a tool to handle the message handlers for objects, to define the member variables. Figure: Class Wizard

Accelerators: The Accelerators are short cut keys. The Accelerators are formed by placing an ampersand before any of the characters of the Caption. As a product the letter fol

Write a program that permits the user to order a product from inventory. The user selects the product and enters the quantity. If there is sufficient quantity on hand of the produc

The Refresh Method: The refresh method transfer to the first record in the record set. To invoke the refresh method follow the syntax which is as shown below: Form1.Data1.R

PROJECT TO CREATE SPLITTER WINDOW   1. Generate the SDI application. 2. Enlarge the class tab page. 3. Select the view class. 4. On right clicking the menu pops up.

i want to print number following pattern 1 12 123 1234