Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
Would you like to see a separate forum on Baanboard for the ION product?
No
13%
Yes
87%
Total votes: 91

Baanboard at LinkedIn


Reference Content

 
pipe.read()
By patvdv at 26 Feb 2008 - 21:57


pipe.read()

Syntax

long pipe.read( ref string buffer(1024), long nr_of_bytes, long pipe_id
)

Description

This reads a specified number of bytes from the specified pipe.

Arguments

buffer

This stores the characters read from the pipe.

nr_of_bytes

This specifies the maximum number of bytes to be read from the pipe. The function stops reading when it has read the number of bytes specified by this argument or when it reaches the end of the file, whichever comes first.

pipe_id

The pipe ID, as returned by pipe.open().

Return values

  • >0 : the number of bytes read
  • 0 : end-of-file
  • -1 : error; most probably no connected stream on pipe_id

Context

Bshell function.

Related topics


0
No votes yet


All times are GMT +2. The time now is 00:17.


©2001-2013 - Baanboard.com - Baanforums.com