Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
15
Task/Comments/Nim/comments.nim
Normal file
15
Task/Comments/Nim/comments.nim
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Nim supports single-line comments
|
||||
|
||||
var x = 0 ## Documentation comments start with double hash characters.
|
||||
|
||||
var y = 0 ## Documentation comments are a proper part of the syntax (they're not discarded by parser, and a real part of AST).
|
||||
|
||||
#[
|
||||
There are also multi-line comments
|
||||
Everything inside of #[]# is commented.
|
||||
]#
|
||||
|
||||
# You can also discard multiline statements:
|
||||
|
||||
discard """This can be considered as a "comment" too
|
||||
This is multi-line"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue