array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ernkz
    New Member
    • Aug 2008
    • 1

    #1

    array

    how to mke n array in vb6???
  • leoce7
    New Member
    • Aug 2008
    • 8

    #2
    multiple ways ....
    EXAMPLES (1-Dimension)

    A) Declaring array...
    1) dim temp() as integer: redim temp(1 to 8)

    2) dim temp(1 to 34) as integer

    C) Accessing array...
    temp(INDEX) = INPUT

    The parenthesis indicate that the declaration is for a new array.

    This is extremely basic stuff but you can make arrays much more complicated when you start adding multiple dimensions to process nested loops and indices.

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by leoce7
      ..

      This is extremely basic stuff ...
      ... and therefore the OP should really get a tutorial and read it.

      Comment

      Working...