This component class implements the subtraction arithmetic operator.
Use this class to create parts in Canvas Views to form an equation model that contains subtraction operations. The operator subtracts the input values of the links connected to Port 1 from the value of the input link at Port 0 and places the resulting value to the output links.
If there is no link connected to Port 0, the value 0.0 will be used with a warning issued.
If there is no link connected to Port 1, the value of the link at Port 0 will be the result.
When there are multiple input links connected to Port 1, all values will be subtracted from the value from Port 0.
When there are multiple output links, all will have the same resulting value after evaluation.
None.
Evaluation (SG_xEval): subtracts the values of all input links at Port 1 from the value of the link at Port 0 and places the resulting value in all the output links.
Port 0: connects to an input link with a value that is to be subtracted from. It can be used only once (unique port). You need to change a port number from 0 to 1 before renaming another port to Port 0.
Port 1: connects to an input link that provides a value for subtraction. It can be linked multiple times.
Port 2: connects to an output link that receives the resulting value. It can be linked multiple times.
Visual Calculator for SansGUI Version 1.1
Copyright © 2001-2003 ProtoDesign, Inc. All rights reserved.