AvailableProgramOutput()

Syntax

Result = AvailableProgramOutput(Program)
Description
Returns the number of bytes available to be read from the programs output.

Parameters

Program The program to use. It must have been started before with RunProgram() using the #PB_Program_Read flag.

Return value

The number of bytes available to be read from the programs output.

Remarks

The output may be read with either ReadProgramString() or ReadProgramData().

However, ReadProgramString() or ReadProgramData() remains blocked indefinitely if the program requests the intervention of the user. For example, return a yes/no choice to the program to continue.

See Also

ReadProgramString(), ReadProgramData()

Supported OS

All

Process Index - CloseProgram() ->