title: “C/COMMENT” author: “laplante@plcb.ca” date: 2023-04-13 version: “1.0.0”
A C-style comment starts with /*
and ends with */
.
It can span multiple lines, making it useful for documenting blocks of code.
⚠️ Important rules:
/*
and */
is ignored by the compiler.res={{
a := 5; /* this is a
multi-line
comment as in C
*/
b := 5;
/* Another one on one line */
a;
/*
print b
now
*/
b;
}}.
return
res=55
res={{
a := 5; /* this is a
multi-line
comment as in C
*/
b := 5;
/* Another one on one line */
a;
/*
print b
now }}
*/
b;
}}.
return
res=55