π Comments

christian.dinh2481 total contributions
Published Jul 23, 2021Updated Sep 9, 2021
Contribute to Docs
A comment is a piece of text within a program that is not executed. It can be used to provide additional information to aid in understanding the code.
There are two types of comments in Emojicode.
Single-line Comments
In Emojicode, single-line comments are made with π
. Any text after the π
that is on the same line is not executed.
π The next line outputs "Hello"π π€Helloπ€βοΈ
Multiline Comments
Multiline comments are created with ππ
and ππ
. Any text in between is not executed.
ππThis is a comment.It will be ignored by the compiler.ππ
Example
Hereβs a whole Emojicode programe with comments:
ππEmojicode is created by:Theo Weidmannπππ ππ π€Hello World!π€βοΈπ Output: Hello World!π
All contributors
- christian.dinh2481 total contributions
- Anonymous contributorAnonymous contributor3077 total contributions
- christian.dinh
- Anonymous contributor
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.