Comments in SRON
This is a multi-line comment because
it is outside the scope of function.
{
name : Main
@ this is a single line comment declared using '@'
}
This is a comment
@ {
name : Main
println()
}
The above function will not be compiled by compiler because
there is a open curly brace but after '@', whenever compiler
reads '@' that whole line will be ignored by the compiler.
{
name : Main
println("This function is compiled")
}NOTE: YOU CANNOT MAKE MULTI-LINE COMMENT INSIDE THE FUNCTION.
Last updated