Riepilogo di istruzioniSummary of Statements

istruzione:statement:
labeled-statementlabeled-statement

compound-statementcompound-statement

expression-statementexpression-statement

selection-statementselection-statement

iteration-statementiteration-statement

jump-statementjump-statement

try-except-statement /* Specifica di Microsoft */try-except-statement /* Microsoft Specific */

try-finally-statement /* Specifica di Microsoft */try-finally-statement /* Microsoft Specific */

jump-statement:jump-statement:
goto identificatore ;goto identifier ;

continue ;continue ;

break ;break ;

return espressioneopt ;return expressionopt ;

compound-statement:compound-statement:
{ declaration-listoptstatement-listopt }{ declaration-listoptstatement-listopt }

declaration-list:declaration-list:
declarationdeclaration

declaration-list dichiarazionedeclaration-list declaration

statement-list:statement-list:
istruzionestatement

statement-list statementstatement-list statement

expression-statement:expression-statement:
espressioneopt ;expressionopt ;

iteration-statement:iteration-statement:
while ( espressione ) istruzionewhile ( expression ) statement

do istruzione while ( espressione ) ;do statement while ( expression ) ;

for ( espressioneopt ; espressioneopt ; espressioneopt ) istruzionefor ( expressionopt ; expressionopt ; expressionopt ) statement

selection-statement:selection-statement:
if ( espressione ) istruzioneif ( expression ) statement

if ( espressione ) istruzione else istruzioneif ( expression ) statement else statement

switch ( espressione ) istruzioneswitch ( expression ) statement

labeled-statement:labeled-statement:
identificatore : istruzioneidentifier : statement

case constant-expression : statementcase constant-expression : statement

default : statementdefault : statement

try-except-statement: /* Specifico di Microsoft */try-except-statement: /* Microsoft Specific */
__try compound-statement__try compound-statement

__except ( espressione ) compound-statement__except ( expression ) compound-statement

try-finally-statement: /* Specifico di Microsoft */try-finally-statement: /* Microsoft Specific */
__try compound-statement__try compound-statement

__finally compound-statement__finally compound-statement

Vedere ancheSee Also

Grammatica di struttura della frasePhrase Structure Grammar