delete Operator

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
delete Operator Flash 5

delete the contents of a variable, property, or array element
delete identifier

Operand

identifier

The identifier to be deleted.

Returns

The Boolean true if the identifier was deleted, false if not (because the identifier doesn't exist or its value cannot be deleted).

Description

The delete operator removes an object, an object property, an array element, or variable from a script.

See Also

"The delete Operator," in Chapter 5



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net