|
|
HP C/HP-UX Release Notes for HP-UX 11.01: HP 9000 Computers > Chapter 1 New and Changed Features Declarations within code |
|
HP C has added the C9x feature which allows you to declare variables and types inside a block of statements. This also allows declaration of new variables or types, such as expr_1, as shown in the for statement below:
This new variable or type declared in expr_1 can be used in expr_2, expr_3 and statement_1.
|
|