Help Center

CTextStream.Readmethod

Reads a specified number of characters from a **TextStream** file and returns the resulting string.

File ManagementmethodCTextStream.incdocumented

Syntax

FUNCTION Read (BYVAL numChars AS LONG) AS DWSTRING

Parameters

NameDescription
numCharsLONG. Number of characters you want to read from the file.

Return value

A string with the characters read.

Description

Reads a specified number of characters from a TextStream file and returns the resulting string.

Reference

  • Include file CTextStream.inc
  • Defined in AfxNova/CTextStream.inc:421
  • Documented in File Management/CTextStream Class.md
  • Topic: CTextStream Class