Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Statement Blocks

A statement block contains one or more statements; each statement is made up of expressions and operators.



{
   statement 1;
   statement 2;
   ...
   statement n;
}


A statement block also indicates subscope. Variables declared within a statement block are only recognized within the block.

Related topics

Statements (DirectX HLSL)

 

 

Community Additions

Show:
© 2015 Microsoft