answersLogoWhite

0

dim value1 as integer dim value2[3] as integer

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is value element in visual basic?

In Visual Basic, a value element refers to a constant or variable that holds a specific value, such as numeric, string, or Boolean data types. These elements are fundamental for performing operations, making decisions, and managing data within a program. Value elements can be used in expressions and assignments, allowing developers to manipulate and utilize data effectively in their applications.


What is a double in visual basic?

A double essentially is an int but with a decimal. For example, 4.5 is a double. But the int value of that would be 4


Does NOT describe a basic function of money?

A function that does NOT describe a basic function of money is serving as a store of value only during times of economic instability. While money is generally expected to maintain its value over time, during periods of inflation or economic crisis, it may fail to do so, making it an unreliable store of value. Basic functions of money include being a medium of exchange, a unit of account, and a store of value under normal conditions.


What is a visual basic function?

A function is a segment of code which you pass a value to and get a value back from, the function acts upon (or not) that value passed to it and returns a value to the calling method; this makes it slightly different from a Sub, which returns no value to its calling method.


What is the Difference between slider and spin control in visual basic?

In Visual Basic, a slider control allows users to select a value by sliding a thumb along a track, providing a visual representation of the range of values, which is useful for selecting a continuous value. In contrast, a spin control consists of up and down buttons that increment or decrement a numeric value, allowing for precise adjustments but without a visual range representation. While sliders are typically better for selecting values within a range, spin controls offer more control for specific numeric inputs.


How do you declare a variable that stores happy new year or other greeting massages in visual basic 2010?

Declare a string variable to store the message value. For example: Dim message As String = "Happy New Year" Console.WriteLine(message) message = "Merry Christmas" Console.WriteLine(message)


How do you use vbTab in visual basic?

vbTab is treated like a string. It's value is simply the tab character (typically ascii value of 9). You can use it just like any other string variable.


What are the three basic function of money?

1. A store of value - it holds value, 2. A medium of exchange - it is used in financial transactions and 3. A unit of account - it used to measure the value of goods.


What is mean by the term Element of art?

An element of art refers to the basic visual components used by artists to create artwork. These elements include line, shape, form, color, value, texture, and space, which can be combined and manipulated to convey artistic ideas and emotions. Understanding these elements helps to analyze and appreciate artwork effectively.


How do you declare the text in vb?

In Visual Basic (VB), you can declare a text variable using the Dim statement followed by the variable name and the As String type. For example: Dim myText As String. You can then assign a value to it, like myText = "Hello, World!". This allows you to store and manipulate string data within your program.


How can value affect visual weights?

The stronger the contrast in value between an object and the background, the more visual weight the object has.


How to put memory recall making a standard calculator in visual basic?

To implement memory recall in a standard calculator using Visual Basic, you can create a variable to store the memory value (e.g., Dim memoryValue As Double). Add buttons for memory operations like "M+", "M-", and "MR" (Memory Recall). In the event handlers for these buttons, update memoryValue accordingly when the user adds or subtracts from memory, and display memoryValue when the "MR" button is pressed. Ensure to handle the display and calculations properly to reflect the memory state.