Collect (Evidence, Assignment)


Description

Get/Set the setting of a node using the "!" syntax. A node can be set to Nothing.

Syntax

To get:

someCollection!sNodeName

 

To set:

someCollection!sNodeName = indexState

 

To set to nothing:

someCollection!sNodeName = Nothing

 

Parameter Description
someCollection an Assignment collection or the Evidence collection.
sNodeName a string, not in quotes,  that gives the name of a Node object in the model's ModelNodes collection.
indexState An integer, or a string, or a object specifying the State object to which the Node object is to be assigned.

Return Value

When getting, returns a State object.

Applies To

Assignment, Evidence