navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

a simple loop, setting array to a blank string

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> a simple loop, setting array to a blank string
Page: [1]
 
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.

(in reply to seth)
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

(in reply to rdouglass)
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.

(in reply to dpf)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> a simple loop, setting array to a blank string
Page: [1]
Jump to: 1





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