answersLogoWhite

0

What is selection Visual BASIC?

Updated: 10/24/2022
User Avatar

Wiki User

10y ago

Best Answer

Selection is a programming concept or structure referring to the ability to make choices in a programming language. This is critical to programming. It is what enables a program do different things. The code allows you to select one of several different options, depending on some scenario. The most common way of implementing a selection in Visual BASIC and most languages, is an IF command. So for example if you had an exam score for a person and wanted to say if they had passed or failed based on the pass mark being 40, you could have a statement like this, where the result is in the variable called intResult.

If intResult>=40 Then

MsgBox("Pass")

Else

MsgBox("Fail")

End If

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is selection Visual BASIC?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is visual basic control?

Visual Basic Controls work on Visual Studio for Visual Basic and Applications that made by Visual Basic.


The year of invention of visual basic?

Visual Basic was started in 1991.


Who invented the visual basic?

Visual Basic was created by a team at Microsoft.


Who developed visual basic?

Microsoft is the developer of visual basic


What is the difference between visual basic and visual c?

The programming language: Visual Basic is a BASIC-like (or BASIC-derived) language, Visual C is... well C.


Who is the developer of Visual Basic?

Microsoft is the developer of Visual Basic.


Is Visual Basic 6.0 compatible with Visual Basic 2005?

No.


When visual basic started?

Visual Basic was started in 1991.


What is the diff between Visual Basic 2005 and Visual Basic dot net?

Visual Basic 2005 is actually a version of VB.NET (v8.0). The latest version (9.0) is Visual Basic 2008.


How do you install visual basic?

Visual Basic 6.0 Product Key


How to add a record in visual basic?

How to add a record in Visual basic?


How do you create a program in visual basic?

arrays programms in visual basic