No INPUT Statement in Test for Windows; Use LINE INPUT

ID Number: Q83810

1.00

WINDOWS

Summary:

To retrieve data from a file opened for input in Microsoft Test, you

must use the LINE INPUT statement. The standard Microsoft Basic INPUT

statement is not supported in Microsoft Test.

This information applies to Microsoft Test version 1.0 for Windows.

More Information:

For example, to input text from a file called FILE1.TXT, you would use

the following code:

OPEN "File1.TXT" for INPUT as #1

LINE INPUT #1, X$

PRINT X$

CLOSE #1

You must retrieve an entire line at once in Microsoft Test. The INPUT

command (which retrieves one variable at a time, using comma

characters as delimiters) is not supported.

Additional reference words: 1.00