We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[32] Data Types

Last post 02-25-2004 2:08 PM by gena_st. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [32] Data Types

    This thread is for discussions of Data Types.

    • Post Points: 0
  • 01-30-2004 4:17 AM In reply to

    VB Datatypes

    I have heard that using the smallest datatype in a program does not necessarily save space in memory, as memory is optimised to work in blocks of a certain size, possibly VB Long.

    Is this correct, or is it best to use the smallest datatype that will safely hold the data required.

    One important piece of advice, which I can confirm from experience, is:

    Always use a large enough data type to allow for future growth.

    You might expect that a variable to hold sales figures would never need to contain more than 99 million, but allow for even more, as it may need to hold, for example,  a company-wide summary of sales for the past twenty years, and suddenly the program will crash if the data type is too small.
    • Post Points: 0
  • 02-25-2004 2:08 PM In reply to

    • gena_st
    • Not Ranked
    • Joined on 02-25-2004
    • New Member
    • Points 35

    data-type-specific operator lists

    i would be interested in a list of data-type-specific operators.  for example, in an if...then statement, what operator do i use to compare one string to another? what operator is used to multiply two numbers? etc.
    • Post Points: 0
Page 1 of 1 (3 items)