5.11 The void Operator

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 5.  Operators

The void operator is used to evaluate an expression without returning a value. It has the syntax:

void expression

where expression is the expression to evaluate. In JavaScript, void is used to evaluate a JavaScript expression in a hypertext link without causing the result to appear in the browser's address bar. There are few, if any, such applications for void in ActionScript; it is supported for the sake of compatibility with ECMA-262.

     



    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