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

Free Components

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, San Diego Web Design

ASP Nuke CMS
Free Open Source
Content Manager
GoSwap Auctions
Buy, Sell
No Fees!

Contact Us | Contribute | About | Site Map



"True friends stab you in the front." - Oscar Wilde

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