|
| |
|
|
seth
Posts: 312 From: canada Status: offline
|
a simple loop, setting array to a blank string - 2/11/2005 12:32:22
Hi how can i create an array of empty strings, say for 1 - 50 items this is what i've started doing, but it doesn't seem to work Do Until varr > 50 arrValue(varr) = "" Next
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: a simple loop, setting array to a blank string - 2/11/2005 13:18:32
How about: DIM myArray(49) (Remeber arrays are zero-based.) That help?
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: a simple loop, setting array to a blank string - 2/11/2005 13:59:22
quote:
DIM myArray(49) I was wondering about that- thanks. I know that in javascript you can declare an array and its length and it established an empty array..now I know how in asp
_____________________________
Dan
|
|
|
|
rdouglass
Posts: 9280 From: Biddeford, ME USA Status: offline
|
RE: a simple loop, setting array to a blank string - 2/11/2005 14:02:05
That's a 1-dimentional array; 2 dimentions would be DIM myArray(49,49), etc....
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|