Wiki

Changes between Version 8 and Version 9 of Classes

Show
Ignore:
Timestamp:
10/06/09 11:43:00 (15 years ago)
Author:
hopscc
Comment:

Add missing syntax for initVal and Attributes in var

Legend:

Unmodified
Added
Removed
Modified
  • Classes

    v8 v9  
    5858=== Instance and Class variable definition Grammar ===  
    5959{{{ 
    60     var <variableName> [as <Type>]  [is <AccessModifiers>] 
    61         [<DocString>] 
    62  
    63     var <variableName> [as <Type>] = <initialValue> 
     60    var <variableName> [as <Type>] [= <initialValue>] [is <AccessModifiers> [has <Attributes>] ] 
     61        [<DocString>] 
     62 
     63    var <variableName> [as <Type>] [= <initialValue>] 
    6464        [is <AccessModifiers>] 
    6565        [has <Attributes>]