Changes between Version 9 and Version 10 of CodingStyle
- Timestamp:
- Jan 30, 2008, 2:17:59 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingStyle
v9 v10 131 131 while ( !done ) 132 132 { 133 doSomething() ;134 done = moreToDo() ;133 DoSomething() ; 134 done = MoreToDo() ; 135 135 } 136 136 }}} … … 155 155 d + e ; 156 156 157 method( param1, param2,157 Method( param1, param2, 158 158 param3 ) ; 159 159 160 setText( 'Long line split' +160 SetText( 'Long line split' + 161 161 'into two parts.' ) ; 162 162 … … 221 221 // Specify matrix as a rotation transformation 222 222 matrix.SetElement( 1, 1, cosAngle ) ; 223 matrix. setElement( 1, 2, sinAngle ) ;224 matrix. setElement( 2, 1, -sinAngle ) ;225 matrix. setElement( 2, 2, cosAngle ) ;223 matrix.SetElement( 1, 2, sinAngle ) ; 224 matrix.SetElement( 2, 1, -sinAngle ) ; 225 matrix.SetElement( 2, 2, cosAngle ) ; 226 226 227 227 // Apply rotation 228 transformation. multiply( matrix ) ;228 transformation.Multiply( matrix ) ; 229 229 }}} 230 230