Newbie question - arrays and tables

Discussion in 'Questions (Windows Mobile)' started by BjornF, May 14, 2008.

  1. BjornF

    BjornF Active Member Licensed User

    Dear All,

    could someone tell me what the advantage of using arrays instead of a hidden table is? To my (admittedly naive) understanding they seem very similar. :confused:

    all the best / Björn
  2. willisgt

    willisgt Active Member Licensed User

    I would think that a table would have advantages over an array. While a table probably consumes more memory (one of the true gurus could tell you for certain), it has the built-in ability to (1) ensure that a given cell in a given column is unique; (2) sort the data it contains; and (3) filter the data. Tables can be either case-sensitive or not, which affects all three.

    A table also has the built-in ability to load or save data from either a CSV or XML file, which is extremely handy in all sorts of situations.

  3. BjornF

    BjornF Active Member Licensed User

    Hmm, yes I understand. But then the question is why arrays are a good thing...

    all the best / Björn
  4. Erel

    Erel Administrator Staff Member Licensed User

    Tables are much heavier (memory and speed) than arrays.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice