| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (12 out of 13)

Functions for Connections

Several system-defined functions provide two categories of information about connections:

Checking Connection Information

These are the functions that check the:

To check the connection direction:

To check the connection portname:

To check the connection position:

To check the connection side:

To check the connection style:

Detecting Connectedness

These functions are predicates that check:

For a description of what constitutes connectedness, see Defining Connectedness.

You can constrain the execution of the body of a rule that detects a connection/disconnection event (described under Detecting Connection and Disconnection Events) by making such execution conditional on one of these functions.

To check whether two items are directly connected in any way:

To check whether two items are directly connected in a specified direction:

To check whether two items are directly connected at specified ports:

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (12 out of 13)

Copyright © 1997 Gensym Corporation, Inc.