[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Error 35 Text File Type was Expected pp 322
Source: Compiler
Cause: Current statement requires Text file type.
Remedy: Examine the statement ahead of the error cursor for the above
condition. Check the file Type declaration.
----------------------------------------------------------------------------
Example:
VAR
FileVar : File of Integer; { Declare a file of type Integer }
BEGIN
Reset (FileVar) ; { Open the file handle }
ReadLn (FileVar) ; { Wrong - ReadLn requires Text type }
Read (FileVar) ; { Correct - Read applies to all types }
END.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson