Use this function to read from an ASCII or binary file.

[Read :=] File.READ(Variable)

Parameters

File

Type: file

Use this variable to refer to the file.

Variable

Type: any

The destination variable. Must be the maximum length for the variable type.

NoteNote

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.

Expand imageProperty Value/Return Value

Expand imageRemarks

Expand imageSee Also