That was it. Not sure why I didn't see that when looking at the other ones I've done. Guess I've been looking at code too long. It's been one of those days.
Thanks again. Robert *---------------------* Application Programmer x4863 -----Original Message----- From: Hewitt, Cheryl [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 10:55 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] RE: Arrays Robert, You do not need to increment your counter. A 'For Next' statement automatically increments the counter for you. HTH, Cheryl -----Original Message----- From: Hoenig, Robert [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: [wdvltalk] Arrays I'm trying to write out an array. For a = 0 to ubound(arr_cstctr) response.Write(a & "<br>") a = a + 1 Next My results are only the even numbers of the array. And when I change to For a = 1 to ubound(arr_cstctr) I only get the odd entries. I've written arrays using this before and it's worked fine. Is there something I'm doing wrong or something that is missing? Here is my code to populate the array. Redim Preserve arr_cstctr(i) arr_cstctr(i) = cstctr i = i + 1 Any help would be greatly appreciated. Robert ________________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com ________________________________________________________________________ ____ * The WDVL Discussion List from WDVL.COM * ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. ____ * The WDVL Discussion List from WDVL.COM * ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with. ________________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com ________________________________________________________________________ ________________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com ________________________________________________________________________ ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] To unsubscribe via postal mail, please contact us at: Jupitermedia Corp. Attn: Discussion List Management 475 Park Avenue South New York, NY 10016 Please include the email address which you have been contacted with.
