Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

© 2015 Microsoft