zap, system, util, systemutil, EndOfStream, output, scriptless, script-less, scripted, step, view, stepview

Method Zap.SystemUtil.EndOfStream

Gets a value that indicates whether the stream position is at the end of the stream

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.SystemUtil.EndOfStream(
    Boolean UseErrorOutput [Optional]
)

ZAP Utility

Zap..EndOfStream

True

isStreamEnd

UseErrorOutput

Output Parameter

Parameters

UseErrorOutput (optional)

Type: Boolean

Default Value: False

Use Error Standard Output

Returns

True if the current stream position is at the end of the stream; otherwise false

Example

VBScript

Zap.SystemUtil.Run "java", "-classpath C:\HelloWorld", null, True
Do While Not Zap.SystemUtil.EndOfStream
    msgbox Zap.SystemUtil.ReadLine
Loop

JavaScript

Zap.SystemUtil.Run("java", "-classpath C:\HelloWorld", null, true);
while (!Zap.SystemUtil.EndOfStream()) {
    alert(Zap.SystemUtil.ReadLine());
}

ZAP Utility

Zap.SystemUtil.Run

java

-classpath...

true

ZAP Utility

Zap...ReadToEnd

output

ZAP Utility

Zap...EndOfStream

isStreamEnded

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227