Results 1 to 4 of 4

Thread: Dim

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Dim

    hey guys, really excited to be here. When does a 18 year old highschool student get to talk to his favourite coding language developers /

    anyways, one question i've had for a long time is what in the blue sky does "DIM" stand for ?

    he two famous answers ive heard are dimension, and declare in memory?.

    thanks

    also, as a student in science (bio, physics), programming is just a hobby so im still at a beginner to intermediate level I'd say.

    I was also wondering how a programming language is created? do you use c++ to create vb? like i just cant picture it in my head

  2. #2
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    Re: Dim

    Great question!

    Dim is definitely rooted from Dimension. In much older versions of basic you would use Dim to create an array in memory. At some point (we're not exactly sure when) this was extended to a broader set of variable types. I'll ask some people around the company to see if we can track it back to the very beginning.
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,710

    Re: Dim

    Hey Paul

    I vaugly remember back with extended basic (BASICA) we used Dim but I think it was only with arrays. For strng variables it was just ...

    FirstName$ = ""

    to initialize/declare a variable. So maybe it was sometime when BASICA turned into Visual Basic that the dimensioning changed?


    Edit: 48,000 Posts!
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  4. #4
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    Re: Dim

    Yes, I definitely remember it there, in QBasic, TrueBasic, and GWBasic (I think) -- again for arrays.

    There are some people here who worked on VBv1 -- hopefully they can shed some light.
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic

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