📝 Syntax Basics
Learn the fundamental syntax of RADS
Comments
RADS supports both single-line and multi-line comments.
Single-Line Comments
// This is a single-line comment
blast main() {
// Comments can explain code
echo("Hello!"); // Inline comments work too
}
Multi-Line Comments
/*
This is a multi-line comment
It can span multiple lines
Useful for documentation
*/
blast main() {
echo("Code here");
}
Statements and Semicolons
Statements in RADS end with semicolons (;).
Blocks and Braces
Code blocks are enclosed in curly braces {}.
Keywords
Reserved keywords: blast, turbo, if, else, elif, loop, cruise, break, continue, return, struct, enum, async, await, import, echo