======在 2008-5-9 21:00:00 jjpanda1111来信中写道:======
谢谢你的帮助,但还想向你请教怎么生成的外部文件里面有错。
======================================
I did not know how exactly you want the .dat file to be. I guess you want a .dat with nothing but the below -
Abbott F 2 97 A 90 87
Branford M 1 98 A 92 97
Crandell M 2 98 B 81 71
Dennison M 1 97 A 85 72
Edgar F 1 98 B 89 80
Faust M 1 97 B 78 73
Greeley F 2 97 A 82 91
Hart F 1 98 B 84 80
Isley M 2 97 A 88 86
Jasper M 1 97 B 91 93
If yes, then replace "put _all_;" statement with "put name gender status year section score finalgrade;", and then your file will look fine.
--------------------------------------------------------
Again, please reply to this post and state my solution solves your problem if that is indeed true.