Command AP fread

4D Pack

AP fread

version 6.0.5


Compatibility Note: This command is now obsolete; it is kept only for compatibility reasons and will be removed in future versions of the plug-in. It is strongly recommended to use the 4D commands of the "Communications" theme.

AP fread (fopenValue) Text

ParameterTypeDescription
fopenValueLongintPort or file reference value returned by AP fopen

Function result Text Data from the port or file

Description

AP fread reads the data from the port or file opened with AP fopen whose reference is passed in fopenValue and returns it as text.

Data is returned without any conversion. Since 4D uses the Macintosh ASCII table internally, you must perform the required conversion on Windows. To do so, use the Win to Mac 4D command.

See Also

AP fopen, Win to Mac.