|
地板
楼主 |
发表于 2004-4-23 23:29:04
|
只看该作者
Re: 多谢
[quote="smartie":bd4b2]我的问题是,例如在abc.txt中文件是如下格式
12 24
其中12是第一个变量的值,第二个变量MISSING,第三个变量的值为24,第四个变量的值也为MISSING,而且变量之间的分割符为空格,在这种情况下,如何输入。[/quote:bd4b2]
I think your have not presented your question in a good way. If there is no data for the second variable across all records, you do not need to input it. If there is any data for the second variable, without additional information, there is no way to read it in. When I get the second value from a record, I should be able to know it is for variable 2 or variable 3. The basic rule is that people have to know what they want, then find a way to implement it by program. If people are not clear their needs, it will be out of question. |
|