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.
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.
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
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!
Declaration in memory
dim means what
Declare in Memory
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.
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
the control appear on the form
There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.
visual poty unit
VBS is Visual basic Script.
Integrated Development Environment...
Basic Computer Programming Language
The Full Form Of VDU is "VISUAL DISPLAY UNIT"
object
Full form of COM in Visual Studio is Component Object Model .
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.
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.
Visual Basic create windows form applications. They are things like your Web Browser, e.g. Internet Explorer.
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
Visual ly Handicapped
No, sign language is a distinct and complete language with its own grammar and syntax. It is not a visual form of English, but rather a separate language used primarily by deaf communities to communicate through visual-gestural means.