RAD Studio
ContentsIndex
PreviousUpNext
register

Category 

Storage class specifiers 

Syntax  

register <data definition> ;

Description 

Use the register storage class specifier to store the variable being declared in a CPU register (if possible), to optimize access and reduce code.

Note: The compiler can ignore requests for register allocation. Register allocation is based on the compiler’s analysis of how a variable is used.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!