Comment code examples

This commit is contained in:
holgerd77 2016-02-18 11:08:20 +01:00
parent 0e44481b0f
commit 688313cc51

View File

@ -119,6 +119,16 @@ Comments
Single-line comments (`//`) and multi-line comments (`/*...*/`) are possible. Single-line comments (`//`) and multi-line comments (`/*...*/`) are possible.
::
// This is a single-line comment.
/*
This is a
multi-line comment.
*/
There are special types of comments called natspec comments There are special types of comments called natspec comments
(documentation yet to be written). These are introduced by (documentation yet to be written). These are introduced by
triple-slash comments (`///`) or using double asterisks (`/** ... */`). triple-slash comments (`///`) or using double asterisks (`/** ... */`).