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.
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 are created with
🔚💭. Any text in between is not executed.
💭🔜This is a comment.It will be ignored by the compiler.🔚💭
Here’s a whole Emojicode programe with comments:
💭🔜Emojicode is created by:Theo Weidmann🔚💭🏁 🍇😀 🔤Hello World!🔤❗️💭 Output: Hello World!🍉
- Anonymous contributorAnonymous contributor3077 total contributions
- Anonymous contributor