Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 simple vb question

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
Cptn-Grey Posted - Jan 27 2006 : 7:41:23 PM
does anyone know if vb6 supports multidimensional arrays?
4   L A T E S T    R E P L I E S    (Newest First)
Cptn-Grey Posted - Jan 30 2006 : 7:44:22 PM
thanks for the info. that will probably come in handy somewhere down the road.
Eric Coleman Posted - Jan 29 2006 : 3:32:04 PM
And you can use UBound and LBound to get the respective bounds of each array dimension.

Debug.print UBound(a, 1) 'upper bound of first array dimension
Debug.print UBound(a, 2) 'upper bound of second array dimenions
Cptn-Grey Posted - Jan 29 2006 : 02:17:56 AM
Thanks for the tip. i allready knew how use multidimensional arrays in c++ but wasn't even sure if they exsisted in vb. thanks again. :)
Lachlan87 Posted - Jan 28 2006 : 09:26:46 AM
I believe this is what you want:

Dim a(9, 9) As Integer

a(4, 7) = 1337

VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.