READ Function (File)
Use this function to read from an ASCII or binary file.
Use this variable to refer to the file.
The destination variable. Must be the maximum length for the variable type.
In previous versions of Microsoft Dynamics NAV, the Variable parameter did not have to be the maximum length. The READ function could read partial data. In Microsoft Dynamics NAV 2009, it is not supported to read fewer than the maximum bytes.