Previous PageNext Page

Table Lookup using Formats, and Put & Input Functions
Formats may be constructed and saved that contain lookup tables. You may modify the format to change the lookup values as needed without having to modify the programs that use the lookup values.

Example 4 from C&P (with slight modifications):
Proc Format;

Data Invoice;

333 10 432 1000 123 15
;
Data Lookup2;

Proc Print data=Lookup2;

Previous PageTable Of ContentsNext Page