|
Reading Data
by Typing it Into the
Computer.
|
Simple
Example
- Consider the data: lec1sm2.dta.
Save these data on the C:\DATA
directory.
- When saving ASCII data, formatting
characters can cause problems. Possible
solutions include:
- Open MS WORD. Then, in Netscape,
use
SELECT ALL
from Edit Menu, and then
COPY to
Copy data into MS-WORD. Then save
the file as a
.txt
file with carriage returns (ie. name
the file
lec1sm2.txt)
- Open Notepad (to open, from
Start,
select
Programs,
and then
Accessories).
Then, in Netscape, use
SELECT
ALL from Edit Menu, and
then
COPY to
Copy data into Notepad. Then save
the file as a
.dat
file with carriage returns (ie.
lec1sm2.dat)
- Warning:
Unexpected results can occur if the
Explorer is set to hide extensions on
file names, and saving a file
automatically adds an extension. To
make sure that you can see the
extensions, make sure the
hide MS DOS file
extensions button is not checked
in the VIEW, Options in Explorer.
  
|
|