Creating & Using Nodes
72
PT Program Generator (PPG) v5.0
Next Nodes Tab
Next
specifies the node to branch to if the math operation passes and where to
branch to if it fails. A math operation will fail only if you attempt to divide a
value by zero or operate on a nonnumeric value.
Figure 49. Math Node: Next Nodes Tab
Operation (Mathematical Function)
At the bottom of the
Math Node Properties
dialog (refer to
), there is an Operation section, shown in
. Select from mathemati-
cal functions that follow it.
Figure 50. Math Node: Operation
Call Nodes
Call
nodes execute a branch to a subroutine. A subroutine contains nodes that
perform a routine function, such as copying data to a file or verifying data. A
subroutine can be called from multiple locations in the program (with
Call
nodes), eliminating the need for duplication. Creating subroutines and refer-
encing them with
Call
nodes optimizes a PPG program, saving both time and
program size.
shows a
Call Node Properties
dialog.
+ (Addition)
Adds the two values.
- (Subtraction)
Subtracts operand 2 from operand 1.
* (Multiplication)
Multiplies operand 1 by operand 2.
/ (Division)
Divides operand 1 by operand 2. Returns the integer result.
% (Modulus)
Divides operand 1 by operand 2. Returns the remainder.
2342.book Page 72 Thursday, July 22, 2004 8:35 AM
Содержание PT Program Generator
Страница 1: ...PT Program Generator User s Manual 2342 book Page 0 Thursday July 22 2004 8 35 AM...
Страница 16: ...Introduction 4 PT Program Generator PPG v5 0 NOTES 2342 book Page 4 Thursday July 22 2004 8 35 AM...
Страница 34: ...PPG Application Design 22 PT Program Generator PPG v5 0 NOTES 2342 book Page 22 Thursday July 22 2004 8 35 AM...
Страница 60: ...The PPG Menubar 48 PT Program Generator PPG v5 0 NOTES 2342 book Page 48 Thursday July 22 2004 8 35 AM...
Страница 88: ...Creating Using Nodes 76 PT Program Generator PPG v5 0 NOTES 2342 book Page 76 Thursday July 22 2004 8 35 AM...
Страница 174: ...The PPG Library 162 PT Program Generator PPG v5 0 NOTES 2342 book Page 162 Thursday July 22 2004 8 35 AM...
Страница 180: ...ASCII Hex Conversion Table 168 PT Program Generator PPG v5 0 NOTES 2342 book Page 168 Thursday July 22 2004 8 35 AM...
Страница 194: ...Glossary 182 PT Program Generator PPG v5 0 NOTES 2342 book Page 182 Thursday July 22 2004 8 35 AM...
Страница 203: ...2342 book Page 191 Thursday July 22 2004 8 35 AM...