Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Deleting Elements

You can delete a list element using the delete operator as follows:

var Data=[1,2,3,4,5]; // create and initlize Data
delete Data[2]; // delete the third element
watch(Data); // Data is [1,2,4,5]
delete Data#3; // delete the third element
watch(Data); // Data is [1,2,5]

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend