Results 1 to 5 of 5

Thread: [RESOLVED] What is the maximum value for the variable "Long"

  1. #1

    Thread Starter
    Addicted Member Programmation's Avatar
    Join Date
    Nov 2009
    Posts
    161

    Resolved [RESOLVED] What is the maximum value for the variable "Long"

    i want know the maximum value for the variables "Long" ?
    Just Do It!

  2. #2
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

    Re: What is the maximum value for the variable "Long"

    http://msdn.microsoft.com/en-us/library/47zceaw7.aspx gives you the info you're looking for, as long as other data types
    Well, everyone else has been doing it :-)
    Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
    Expect more to come in future
    If I have helped you, RATE ME! :-)

    I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!

    And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.

  3. #3

    Thread Starter
    Addicted Member Programmation's Avatar
    Join Date
    Nov 2009
    Posts
    161

    Re: What is the maximum value for the variable "Long"

    thank you very much
    Just Do It!

  4. #4
    PowerPoster ThEiMp's Avatar
    Join Date
    Dec 2007
    Location
    Take The PCI Bus Across To The CPU!!
    Posts
    3,948

    Re: [RESOLVED] What is the maximum value for the variable "Long"

    For a programming platform, like Windows XP. Which is 32-Bit articuture. Then a simple: "Dim Item1 As Long", variable is 32-Bit in length. This means that each Long dimmed variable is 32-Bit. (One billion bytes in length).
    I have a huge free products range, of computer software in which you can download using any kind of 64-Bit Web Browser. Also there is coming a Social Networking section that I am making on my Website...

    |Ambra Productions Inc. | The Black Sun Society | The Black Shield | Ambra College | Church of the Black Sun | Ambra Productions Inc's Homepage | Boomtick Venues: Ambar Nightclub, Jack Rabbit Slim's, Villa Nightclub and Lucy's Love Shack | Pasta Ambra | Fish Feast Company | Wallet Wizard | Ambrose Liquor | Ambar Tavern | Ambra University | Ambra Cheese |

    Do you wish to do unpaid work for me??? If so, the PM me on this Forum, and then we can get to work, programming for the future of computers go by the name of ThEiMp. This is my ghost writers name. Also my nickname, means that I am: The Imperial of the Technology Industry, so then to make it really short, I just then wrote: The Imp, which is where I get the nickname from...

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [RESOLVED] What is the maximum value for the variable "Long"

    Quote Originally Posted by ThEiMp View Post
    This means that each Long dimmed variable is 32-Bit. (One billion bytes in length).
    Erm, no.... 32-bits is 4 bytes.

    The maximum value it can contain (positive or negative) is a little over 2 billion.

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