Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Erase

The Erase subroutine will clear all of the values in a static array. If the values in the array are numeric, this will set all of the values to zero. If the elements of the array are string, then all values will be set to the empty string ("").

Dim aArray(3)

aArray(0) = 12
aArray(1) = 2
aArray(2) = 30
Erase aArray


When used on a dynamic array, the Erase subroutine will free up the member used by all of the dynamic elements and set the array to "zero-size".

Dim aArray(0)

ReDim Preserver aArray(3)
aArray(0) = 12
aArray(1) = 2
aArray(2) = 30
Erase aArray

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"I do not think much of a man who is not wiser today than he was yesterday." - Abraham Lincoln

©2010 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.