VPLX
Program Documentation
Volume 1: Introduction
Robert E. Fay
U.S. Bureau of the Census
February 25, 1998
Table of Contents
P. Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.P.1
1. Introduction
1.1 Purpose of VPLX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.1
1.2 The Standard Order for the CREATE Step . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.2
1.3 General Features of the New VPLX Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.9
1.4 The CREATE Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.10
1.5 Recommended File Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.11
1.6 Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.12
1.7 A More Extensive Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.1.12
2. Recoding Variables in CREATE
2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.1
2.2 Familiar Arithmetic Assignment Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.1
2.3 Familiar Functions in VPLX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.4
2.4 Set Assignment Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.5
2.5 Conditional Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.7
2.5.1 An Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.7
2.5.2 Arithmetic Relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.8
2.5.3 Range Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.2.9
2.5.4 Logical