Specifying Comments

[This is preliminary documentation and subject to change.]

The MOF compiler supports two styles of comments:

As in the C/C++ programming languages, the // style must be used with single line comments whereas the /* and */ style can be used with either single or multiple lines.

The following code illustrates a comment using the first style:

int32 MyProp = 2; // this is also a comment until the line ends
 

This code uses the second style:

int32 /* this is a comment */ MyProp = 2;