Wiki

Changes between Version 1 and Version 2 of Methods

Show
Ignore:
Timestamp:
11/22/10 19:58:54 (14 years ago)
Author:
todd.a
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Methods

    v1 v2  
    1313== Method Grammar == 
    1414{{{ 
     15#!cobra 
    1516    def <methodName> [as <returnType>]  [is <AccessModifiers>] 
    1617        [has <Attributes>] 
     
    2728 
    2829{{{ 
     30#!cobra 
    2931<paramName> [as [<paramDesc>] <Type>]  [, ...] 
    3032}}} 
     
    4547== Example == 
    4648{{{ 
     49#!cobra 
    4750    def meth( a, b is String, c is out String) 
    4851        c = b + "_meth"