关键字

  • case

    Specifies an entry in a switch statement.
    See: Switch
  • cast

    将一条数据转换成另一种类型.Attempt to get a value as a different type. Can also be used to indicate that a class' field can be dynamically overridden.
    See: Type Casting, Unsafe Cast, Classes
  • default

    If used in a switch statement, default is used to indicate a case that will be executed if none of the other cases were executed. If used in a property definition, default indicates that the classic field access are available.
    See: Switch, Properties
  • do

    声明一个 "do-while" 循环.
    do expr-loop while( expr-cond );
    See: While
  • dynamic

    Used in a property definition to indicate that access will be set at runtime. Also used as a flag in a class variable or method declaration to indicate that the field may be dynamically rebound.
    See: Properties, Classes
  • else

    Declares a block to be executed if the condition is not true.
    if( expr-cond ) expr-1 [else expr-2]
    See: If
  • extern

    Indicates that the class is already defined.
  • for

    Declares a "for" loop.
    for( variable in iterable ) expr-loop;
    See: For
  • if

    Declares a block to be executed if a condition is true.
    if( expr-cond ) expr-1 [else expr-2]
    See: If
  • import

    Indicates that the class references a class from a different package is reference from the file.
    See: Imports
  • in

    Part of the syntax of the "for" loop.
    See: For
  • inline

    Indicates that the compiler can speed up the code by replacing references to a function or static variable with the method body or variable's value, respectively.
    See: Inline
  • never

    Used in a property definition to indicate that access is not available.
    See: Properties
  • null

    If used in a comparison or assignment, null is variable without a value. If used in a property definition, null indicates that access is only allowed from within the class.
    See: Constants, Properties
  • override

    Indicates that a class' field is overriding its parent class.
    See: Classes
  • private

    Indicates that access to field is only allowed from the class.
    See: Classes
  • public

    Indicates that a field's access not restricted.
    See: Classes
  • return

    Exit a function before the end or return a value from a function.
    See: Return
  • switch

    Equivalent to multiple if...else if... tests on the same value.
    See: Switch
  • trace

    A global function to ease debugging. Outputs the given variable as a String.
    trace("Will be shown when compiled for debugging");
    See: here
  • try

    A try block is code where exception handlers can be defined.
    See: Exceptions
  • while

    声明一个 "while" 循环.
    while( expr-cond ) expr-loop;
    See: While
在找 const吗? 你可以使用 inline static, 它可以完成你需要的操作.
version #12616, modified 2012-03-02 11:47:36 by auciferjay