Compile Error

PaRtY
01-22-2004, 09:35 PM
UserName = LstUsernames.List(Y)
SecondUser = LstUsernames.List(Y + 1)

can someone explain to me what the (Y) and (Y + 1) represents...I get the compile error and variable not define.

gprinsloo
01-22-2004, 09:45 PM
The Y is a variable which in this case would contain an integer value to point to an element in the list object array.

diego24
01-22-2004, 10:07 PM
you need to declare all the variables of you project
example:
option explicit
dim y as integer
there are diferent words to define a varible public, static,dim etc

PaRtY
01-23-2004, 08:54 AM
Thank You for the help :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum