Code and Comments
Comments are lines in your code that are ignored by the interpreter. They're useful for making your code easier to understand.
Info
Comments are important to make your code readable, and are widely used across this documentation.
Single-Line Comments
Single-Line comments are comments just on one line. You should use this for notes, or simple explanations.
Example
$let[userYear;2000]
// User's age
$let[age;$math[$year-$userYear]] // $userYear is year the user was born in
// Send a message with age
Your age is: $age
// TODO: Save into user variable
Multi-Line Comments
Multi-Line comments can comment multiple lines at once. You can also use this to comment inside of functions.
Example
/*
userYear -> Year the user was born in
age -> User's age
*/
$let[userYear;2000]
$let[age;$math[$year /* current year - born year */ - $userYear]]
Your age is: $age /* <- The variable */
Dashboard Editor
In the dashboard editor, you can quickly comment out selected line(s) by pressing Ctrl + /
