CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 1999
    Location
    California, USA
    Posts
    40

    What does "Dim" mean?

    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

  2. #2
    Guest

    Re: What does "Dim" mean?

    I think, you need to read at least several pages of any VB book.
    Vlad


  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: What does "Dim" mean?

    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

  4. #4
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: What does "Dim" mean?

    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!



  5. #5
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: What does "Dim" mean?

    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

  6. #6
    Join Date
    Nov 1999
    Location
    Maryland - USA
    Posts
    11

    Re: What does "Dim" mean?

    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?


  7. #7
    Guest

    Re: What does "Dim" mean?

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured