ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 31st, 2003, 03:19 PM
cinners cinners is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Pennsylvania
Posts: 30 cinners User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Question Array

At the golbal level I have three arrays dimed as follows:

Dim WrittenArray(100) as Guid (I'm working with guids)
Dim OralArray(100) as Guid
Dim SpecilaLicense(100) as Guid

I want toable to use one array instead of three

Dim AllArray (100) as Guid

My question is how do I clear out a generic array so that when it is called I do not have any existing values left in the array?

a code sample would be very helpful
thanks

Reply With Quote
  #2  
Old July 31st, 2003, 07:59 PM
silverfiere silverfiere is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 5 silverfiere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to silverfiere Send a message via Yahoo to silverfiere
Re: Array

How bout trying to use For loops to set the arrays into blanks? Try before?

For i=0 to 100 do
array[i] = 0
Next

Reply With Quote
  #3  
Old August 6th, 2003, 08:42 AM
poolnet poolnet is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 poolnet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re

try:

for i=lbound(AllArray) to ubound(AllArray)
AllArray (i) =""
next

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Array


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT