answersLogoWhite

0

You have to declare it. The simplest way to do so is by using the Dim keyword.

For example if you want a string variable called someString you would declare it thus:

Dim someString as string

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Can you run java program without applying main method?

yes we can run java program without using main. we can run program by declaring the variable static..


Write a shell program using if-the-else to test whether a variable name is a directory or a file?

see : Write_a_shell_program_using_the_if-the-else_to_test_whether_a_variable_name_is_a_directory_or_a_file


How can a reassigned local variable impact the functionality of a program?

When a local variable is reassigned in a program, it can impact the functionality by changing the value that the variable holds. This can lead to unexpected behavior or errors in the program if the reassigned value is not properly accounted for in the code. It is important to carefully manage variable assignments to ensure the program functions as intended.


Can you give an example of array using character variable in c program?

the example of array over charcter variables is char ["string"]


Can you write addition of 2 no program without using third variable?

Yes. int a, b; a= 2; b= 3; a= a+b;


If the variable flag can only be declared once in the program it was declared as what type of variable?

It's a global variable.


How do you solve an or problem if a variable is unrestricted in sign?

Solve the problem using the + sign for the variable. Then solve the problem using the - sign for the variable. Report your answer as the answer that you got using + or the answer that you got using -.


What is a variable used in computer gaming?

it depends, if its a desired variable, its a program, but if its undesired, its a glitch


How do you program a hayward variable speed pool pump?

how to program a pool vacuum


What is program in c to swap entered two numbers without using third variable?

The required c program is given below /*Swapping(interchange) the two entered numbers*/ #include<stdio.h> main() { /*Without using third variable*/ int a,b,t; printf("Enter a:"); scanf("%d",&a); printf("Enter b:"); scanf("%d",&b); a=a+b; b=a-b; a=a-b; printf("\n After swapping without using third variable"); printf("\na=%d\nb=%d",a,b); }


Describe how you can tell by looking at the graph of a function with variable is the input variable and which is the output variable?

You cannot.


Pointer is a variable holding a memory address?

pointer is a derived datatype which contains memory addresses as their values. program:- #include<stdio.h> #include<conio.h> void main() { int m=5,*p; clrscr(); p=&m; printf("address of variable m is %p",(void *)p); }