Vanguard Software
Forecasting & Planning Solutions

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]

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Analysis  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Website Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2010 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend