A-A+

使用Dowhile循环从打开的文件中逐条读取记录。以下能够正确读取数据的程序段是()A.Open&q

2024-12-20 01:53:52 IT认证 阅读

问题详情

使用Dowhile循环从打开的文件中逐条读取记录。以下能够正确读取数据的程序段是()

A.Open"c:File1.txt"ForInputAs#1:

DoWhileNotEOF(1):

LineInput#1,strLine:

Loop

B.Open"c:File 1.txt"ForInputAs#1:

DoWhileEOF(#1):

LineInput#1,strLine:

Loop

C.FileNo=FreeFile:

OpenFileNoForInputAs#1:

DoWhileNotEOF(FileNo):

LineInput#1,strLine:

Loop

D.FileNo=FreeFile:

OpenFileNoForInputAs#1:

DoWhileEOF(#FileNo):

LineInput#1,strLine:

Loop

参考答案

考点: