E.8. MONEY: A Macro Illustrating Sections

We mentioned earlier in this appendix that macros can be used to create data structures and to populate them with values statically. Production applications contain significant static data used for captions, help systems, and error messages. Often such data are most conveniently accessed if they are organized as elements in arrays or other complex data structures. In addition, such data may need to be reformulated for various natural languages to support program versions to be used internationally.

High-level languages have come to provide some capability to populate such structures statically—i.e., at compile time rather than at runtime. We now present an approach for packaging such data as “parallel ...

Get Itanium® Architecture for Programmers: Understanding 64-Bit Processors and EPIC Principles now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.