CommentsΒΆ
Verve has C-style comments, with //
for single line comments and /* */
for multiline comments.
For single line comments, between the //
and the end of the line will be ignored:
// this is a single line comment
x // this is a comment about x
Multiline comments, despite the name, need not be multiline. Everything between the opening (/*
) and closing (*/
) will be ignored.
/*
This can be a very long multiline comment
*/
x /* or single line */ + y