Changes between Version 13 and Version 14 of AllOfCobraInOnePage
- Timestamp:
- 01/10/14 06:37:06 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AllOfCobraInOnePage
v13 v14 31 31 #/ 32 32 }}} 33 {{{ 33 34 34 basic structure: 35 35 very top level keywords are the optional "namespace" and "use" … … 44 44 45 45 examples: 46 46 47 {{{ 47 48 #!cobra … … 68 69 69 70 70 valid keywords inside a method (def):71 you can have "trace, assert" wherever you want inside a method72 71 very useful for debugging are 'trace' and 'assert' 73 72 }}} 74 73 {{{ 75 74 #!cobra 75 # trace example 76 76 def linear(a as number, x as number, b as number) as number 77 77 trace a,x,b … … 81 81 82 82 }}} 83 {{{ 83 84 84 assert accepts a boolean, with one expression per line. 85 example: 86 }}} 85 example: ... 86 87 87 88 88