Delete a Decision in ExtDecBuffer

Description

Delete a Decision in ExtDecBuffer deletes a decision from the decision buffer. If two or more decisions are in buffer with same name, the first decision with that name is deleted. If no decision are found with the name an error is generated.

The difference between Delete at a Decision in ExtDecBuffer and Delete a Decision in ExtDecBuffer is that the former takes the offset; the latter takes the name.

Example

The following are the decisions.

Offset

Name

1

Decision Left

2

Decision Right

3

Decision Up

4

Decision Down

Delete a Decision in ExtDecBuffer would take Decision Right as a parameter.

Delete at a Decision in ExtDecBuffer would take the offset 2 as the parameter.

Parameters

This function block has the following parameters:

Parameter

Description

INPUT

 

Controller

Control location ID of the controller that provided the external decisions. This is used to identify decision buffer from which decision will be deleted.

Decision Name

Name of the decision to be deleted.

OUTPUT

 

Status

Status of the call, could be RCO_SUCCESS, RCO_WARNING or RCO_ERROR, If status is not RCO_SUCCESS then error information is returned in Error member of RcoDecisionBuffer object.

More information

Core function block list.