answersLogoWhite

0


Best Answer

DIM stands for declaration in memory. the words DIM is used to declare a variable.

Yes Correct, I used to declare variable.

I think it means Dimension, Dimension Of the memory location

The original Basic language did not require or have a type definition. All variables were numeric with no distinction between integer and real/float. Assigning space for a variable was easy, they were all the same type and size.

Some Basic implementations, using variable name modification, later added character variables by a dollar sign appended (varname$) and an integer type with a percent sign (varname%) leaving the unsuffixed version as it originally was. You were allowed to have all three versions of a name in play at the same time so Basic still had no type declarations.

For an array, you needed to tell Basic how much space to allocate for the array. Some of the more used languages at that time (e.g. fortran) used a"Dimension" keyword for this and Basic similarly used a shorter DIM statement.

Being that the designers of VB were implementing a version of Basic and they did need a type declaration, I would guess they decided to use the closest thing available: A DIM statement.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Dim is used to declare a variable, such as:

Dim x as integer

It is comparable to

var x:int in action script.

Dim is a short form for dimension.

Dim can also be like saying "Let x = 1". Except you can declare the variable as anything it allows.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Dim in Visual Basic is used to declare a variable. Math Example: x = 1 y = 3 x + y = 4 Visual Basic Example: Dim x '(This creates the x variable) Dim y '(This creates the y variable) x = 1 y = 3

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

To DIM is to call and reserve a spot in your Computers Memory.

for examples: I'll reserve a spot in my computers memory,

First I'll CALL it...... (declare it so the PC knows my command )

DIM

Then I'll give it a NAME..... (and this can be anything you want it to be)

VKM

then I assign a VALUE TYPE to it

as String

then I give it a VALUE

"My Initials"

so code should look like this;

Dim VKM as String = "My Initials"

so now my pcs memory holds some space call : VKM and that holds the value "My Initials" in it.

Think of it like a Garage Named VKM and a car inside named MyInitials.

You take it and and uses it as you need it then return it to storage. But it always goes back into garage VKM

So in my code I can now call to the memory at anytime to retrieve that data and display it in my program as i wish.

Try this

Dim x as string = "Hi, my name is VKM"

msgbox(x)

then run it. You'll get a messagebox that displays the text above.

you can even get a little more advanced with it and have it show your name instead of my initials.

try this: (this involves using a inputbox to get value from a user)

Dim name As String = InputBox("What is your name")

MsgBox("Hello: " & name & ", it is very nice to meet you")

or put it at the end

MsgBox("Hello, it is very nice to meet you," & name)

(just a note for knowledge)

PC Memory is Temporary and is cleared and refreshed for new uses each time a computer is restarted. That's ok...that's what it is ment for (Temporary, not Static.)

Ac352:

In simpler terms a Dim is something that your computer uses to store data!

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Declaration in memory

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

dim means what

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Declare in Memory

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Full form of dim in visual basic language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the full form of vbs?

VBS is Visual basic Script.


Full form of ide in visual basic?

Integrated Development Environment...


What is the full form of BCPL?

Basic Computer Programming Language


Full form of-vdu in the subject computer?

The Full Form Of VDU is "VISUAL DISPLAY UNIT"


What is a form in visual basic 6.0?

object


Full from of COM in Visual Studio?

Full form of COM in Visual Studio is Component Object Model .


Comparison of visual basic and C?

The syntax and operation is very similar, but visual basic isn't as powerful. Think of it as a watered down, easier version of c. With C, you can create anything from a simple calculator application to a full blown operating system. Visual basic can't make anything as extensive as an operating system, but it is much faster to code in visual basic when you want to make form based programs, or applications.


What is the difference between projects and form in Visual Basic 6?

a project in visual basic is a collection of different objects like forms. it is saved with an extension of .vbp. A form in visual basic displays various controls that provide the user interface. it is saved with an extension of .frm.


What is visual basic 2008?

Visual Basic create windows form applications. They are things like your Web Browser, e.g. Internet Explorer.


What is full form of VH?

Visual ly Handicapped


What is Qbasic?

QBasic is a simple BASIC compiler that can be found on the Windows 98 Disk. Although not fancy and decorative, it is a text-based, non-visual compiler. Basic is a high-level programming language, and QBasic is just a program that compiles the programming language to binary for the computer to execute. No longer used by Microsoft. Full form of Ms-Q-basic is Microsoft Quick Beginners All-purpose Symbolic Instruction Code


What is the full form of video?

The full form of video is visual interpretation due to electronic orientation.