Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2005, 12:22 PM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 139
Thanks: 0
Thanked 0 Times in 0 Posts
Default clear array

Hi,

Does anyone know how to clear an array?

 
Old October 17th, 2005, 03:34 PM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

variable_name = null should do the trick

Dieter

 
Old October 30th, 2005, 06:50 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Set the length to 0.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
clear datagridview me.ajeesh C# 2005 1 July 27th, 2007 11:28 PM
Function to Clear Text array! ebycorreia_81 VB How-To 1 January 16th, 2006 05:47 AM
make me clear please bhola Forum and Wrox.com Feedback 0 July 12th, 2005 09:45 PM
Clear Variables dmerrall Javascript How-To 2 June 20th, 2005 08:27 AM
do not clear dataset kasper General .NET 1 October 27th, 2004 05:41 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.