OCL expressions can contain comments . An OCL line comment begins with two hyphens. All text from the hyphens to the end of the line is considered to be a comment. Comments longer than one line may be enclosed between /* and */. For example, the following lines contain valid OCL expressions: [View full width]
The following line is not a valid OCL expression: 20 * -- this is a comment 5 + 4 |