cap log close log using stata-read_data-infile1.smcl, replace smcl /* READING DATA: Using infile */ /* Problem #1: Use infile to read Stata-Read_Data-INFILE1.raw */ infile using "Stata-Read_Data-INFILE1.dct", clear /* Problem #2: Format the data display */ format party %-23s format vote %10.0fc format percent %9.2f /* Problem #3: Store the data efficiently */ compress /* Problem #4: Look at the data */ desc list log close