Click to See Complete Forum and Search --> : What does "Dim" mean?


PanasonicSubz
December 10th, 1999, 09:45 AM
what does the phrase "dim" mean and why do they have like public a as string or dim a as string. whats the difference?

PanasonicSubz

December 10th, 1999, 09:48 AM
I think, you need to read at least several pages of any VB book.
Vlad

Chris Eastwood
December 10th, 1999, 10:09 AM
Why don't you use that little F1 key that sits on the top row of your keyboard ? This really is the most basic question - have you ever read any of the help that comes with vb ? How about any book to do with programming ?



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

AndyK
December 10th, 1999, 03:25 PM
HAHA, I wanted to tell him to go read some books but you guys already did..
You ask questions like what is Dim or how to read/write to file....that what the books were made for, for people to learn stuff and if you have that WAREZ illegal version of VB with help files riped out, then I suggest you go to this site http://www.informit.com, sign up for free then you have ability to read books for free and then you can also buy them if you like the book!
Declares variables and allocates storage space that what Dim statement does!

Chris Eastwood
December 11th, 1999, 07:02 AM
Well, rather than responding here, I just received a 'private' message from the PanasonicPerson :

>>>
From: PanasonicSubz
Received: 12/10/99 06:06 pm

I dont have help in my stupid **** version of vb, dont you think i would of tried that instead of asking your sorry ***.
<<<

Guess that say's it all really. So may I recommend that everybody helps out this guy whenever possible - he's really serious about learning VB.



Chris Eastwood

CodeGuru - the website for developers
http://codeguru.developer.com/vb

Heru
December 11th, 1999, 12:56 PM
Hi Guys! do not underestimate simple question like this!
This Panasonic guy may have an attitude but he really need to know what is the meaning of "Dim" and seems noone is able to tell him?
helping other people make you learn also so...Panasonic guy..".Dim" is an abreviation of "Dimension"
if that what you want to know. The meaning of it has been described by one of our colleague here, to locate a strorage space in memory.
So, has everybody learned the new term by now? :)

December 12th, 1999, 01:56 AM
Dim is short for Dimension. In Visual Basic it's how variables are declared. The word Public means the variable or procedure is accessible by the whole program (global). As string means the variable is of the string data type. A string is really just another name for text. You will come across other data types as well like integer and boolean.