Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 809 Bytes

File metadata and controls

38 lines (28 loc) · 809 Bytes

ReadBin

Description

Procedure ReadBin will read binary data from a currently open file. The variable length parameter list returns the read data in the specified parameters.

Supported data types include INTEGER (2-bytes), REAL (8-bytes), LONGINT (4-bytes), CHAR (1-byte) or STRING/DYNARRAY OF CHAR (see remarks).

The bytes will be written as little-endian.

Strings will require additional INTEGER parameter to specify encoding: : 0 – mac : 1 – win : 2 – system : 3 – UTF8 : 4 – UTF16

PROCEDURE ReadBin(VAR z : ANY);
def vs.ReadBin():
    return z

Parameters

Name Type Description
z ANY

See Also

WriteBin | Open

Version

Availability: from VW 2018

Category