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
VBScript Operators VBScript contain a full range of operators, including comparison operators, arithmetic operators, concatenation operators, and logical operators.

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

sir , i need visual basic form design & coding for Reynolds number & type of flow .

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

A program needs to be written that is capable of simple image processing. All the images that are available for you to use, can be found on Blackboard in the Assignments section. T

Question 1 Create a VB application to make the text bold, italic, underlined and also color the text (using checkbox, option button, textbox controls) Question 2 Create a

INTRODUCTION to VISUAL C++ PROGRAMMING This section introduces you to develop the applications using VC++. The Single document interface (SDI), multiple document interface (MDI

I would like someone to look at my code and tell me why it''s not working

This is a series of VBScript statements enclosed through the Function & End Function statements. A Function procedure is same to a Sub procedure, however can also return a value. T

INTRODUCTION TO DATABASE APPLICATIONS   In this section, we define a dialog and tab order that is the order in which the controls will be navigated during the execution. The D