Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 809 Bytes

dx-graphics-hlsl-statement-blocks.md

File metadata and controls

45 lines (29 loc) · 809 Bytes
title description ms.assetid ms.topic ms.date topic_type api_name api_type api_location
Statement Blocks
A statement block contains one or more statements; each statement is made up of expressions and operators.
083240ed-1ced-4b65-a01d-e207c2c3632f
article
05/31/2018
kbArticle

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)