Skip to content

Commit eff20bd

Browse files
committed
Fix typos in comments of curly braces example code
statements(s) -> statement(s)
1 parent 15e183f commit eff20bd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Language/Structure/Further Syntax/curlyBraces.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The main uses of curly braces are listed in the examples below.
4646
[source,arduino]
4747
----
4848
void myfunction(datatype argument){
49-
// any statements(s)
49+
// any statement(s)
5050
}
5151
----
5252
[%hardbreaks]
@@ -59,17 +59,17 @@ void myfunction(datatype argument){
5959
----
6060
while (boolean expression)
6161
{
62-
// any statements(s)
62+
// any statement(s)
6363
}
6464
6565
do
6666
{
67-
// any statements(s)
67+
// any statement(s)
6868
} while (boolean expression);
6969
7070
for (initialisation; termination condition; incrementing expr)
7171
{
72-
// any statements(s)
72+
// any statement(s)
7373
}
7474
----
7575
[%hardbreaks]
@@ -84,16 +84,16 @@ for (initialisation; termination condition; incrementing expr)
8484
----
8585
if (boolean expression)
8686
{
87-
// any statements(s)
87+
// any statement(s)
8888
}
8989
9090
else if (boolean expression)
9191
{
92-
// any statements(s)
92+
// any statement(s)
9393
}
9494
else
9595
{
96-
// any statements(s)
96+
// any statement(s)
9797
}
9898
----
9999
[%hardbreaks]

0 commit comments

Comments
 (0)