Creating New Variables In Visual Basic In Short.

Asked By 0 points N/A Posted on -
qa-featured

I am using Visual Basic as a neophyte, and I want to learn new ways to create variables in Visual Basic. Can anyone show me the most efficient way available?

SHARE
Answered By 0 points N/A #295967

Creating New Variables In Visual Basic In Short.

qa-featured

You can create a new variable with a Dim Statement. Start by declaring the variable in a Dim Statement. Include the specifications for the characteristics of the variable such as Static or Private. With the Variable’s name, follow the specifications and see they confirm to rules and conventions. To specify the data type of variable, follow the name with the clause AS. The As clause with ‘=’ sign should be followed and subsequently by variable’s initial name.

Image result for variables in Visual Basic

Related Questions