Jump to content

Sys2Read

From EDM2
Revision as of 14:56, 16 June 2016 by Martini (talk | contribs)

Description

Read bytes from a previously-opened stream (wrapper to DosRead).

Arguments

REXX ARGUMENTS:

 1. File handle (as returned by Sys2Open or Sys2CreateNamedPipe).
    (REQUIRED)
 2. Number of bytes to read.  (REQUIRED)

Return Value

REXX RETURN VALUE:

 String containing the bytes read, or "" in case of error.