取消
显示结果 
搜索替代 
您的意思是: 

How READ a file?

I made a file in LV Student Edition 7.1...
 
I used "Format into File" to view the info in windows "notebook" and the info was written as below:
 
[Line 1]   $$M2617
(Empty Line)
(Empty Line)
Empresa: Intel
Numero de Parte: 80C51A
(etc)
 
I tried to read all this file info but I only can read: $$M2617... How can I read another line and put all the info into different elements of an Array?
0 项奖励
1 条消息(共 2 条)
2,726 次查看
How are you reading the file?
 
Just read the entire file into a string (using read characters from file), then you can parse the string as desired, e.g. split at linefeeds and place into array, etc.
2 条消息(共 2 条)
2,722 次查看