Reject() – Teledyne LeCroy CATC Scripting Language Reference Manual User Manual

Page 52

Advertising
background image

C

HAPTER

12

Decoder Primitives

CATC Scripting Language

48


Return value

An integer that should be passed back to the application unchanged.

Comments

This should be called when it has been decided that an input context has been
accepted into a transaction, but that the transaction still requires further input to be
complete. This function could be used to associate input contexts with the output
context. The return value of this function should be returned to the application in
the ProcessData function.

Example

if ( done )
return Complete();
else return Pending();

Reject()

Reject()

Parameter

Meaning

Default Value

Comments


Return value

An integer that should be passed back to the application unchanged.

Comments

Called when it is decided that the input context does not meet the criteria for being
a part of the current transaction. The output context should not be modified before
this decision is made. The return value of this function should be returned by the
ProcessData

function.

Example

if ( UnknownValue )
return Reject();

Advertising