Changes between Version 9 and Version 10 of AllOfCobraInOnePage
- Timestamp:
- 01/06/14 12:28:07 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AllOfCobraInOnePage
v9 v10 49 49 you can have "trace, assert" wherever you want inside a method 50 50 very useful for debugging are 51 trace and accepts multiple variables 51 trace (also accepts multiple variables) 52 {{{ 53 def linear(a as number, x as number, b as number) as number 54 trace a,x,b 55 res = a * x + b 56 trace res 57 return res 58 59 }}} 52 60 assert accepts a boolean, with one expression per line. 53 61 example: