You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.0 KiB
Plaintext
73 lines
2.0 KiB
Plaintext
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.do-while ==
|
|
do {
|
|
<SPLIT>} while ( <CURSOR> ); // ----- end do-while -----
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.for ==
|
|
for ( <CURSOR>; ; )
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.for-block ==
|
|
for ( <CURSOR>; ; ) {
|
|
<SPLIT>}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.if ==
|
|
if ( <CURSOR> )
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.if-block ==
|
|
if ( <CURSOR> ) {
|
|
<SPLIT><-IF PART->
|
|
}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.if-else ==
|
|
if ( <CURSOR> )
|
|
<SPLIT>else
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.if-block-else ==
|
|
if ( <CURSOR> ) {
|
|
<SPLIT><-IF PART->
|
|
}
|
|
else {
|
|
<+ELSE PART+>
|
|
}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.else-block ==
|
|
else {
|
|
<CURSOR><SPLIT>
|
|
}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.while ==
|
|
while ( <CURSOR> )
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.while-block ==
|
|
while ( <CURSOR> ) {
|
|
<SPLIT>}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.switch ==
|
|
switch ( <CURSOR> ) {
|
|
case 1:
|
|
<SPLIT>break;
|
|
|
|
case 2:
|
|
break;
|
|
|
|
case 3:
|
|
break;
|
|
|
|
case 4:
|
|
break;
|
|
|
|
default:
|
|
break;
|
|
} // ----- end switch -----
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.case ==
|
|
case <CURSOR>:
|
|
break;
|
|
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
== statements.block ==
|
|
{
|
|
<CURSOR><SPLIT>
|
|
}
|
|
$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|