Static Number
Description
This object is being used to store a 'Static Number'.
App Builder Object
Source Code
function execute() {
return [parseFloat(inPorts[1].value) || 0];
}
In Ports
Position | Name | Message Type | Description |
---|---|---|---|
1 | Trigger | Trigger | This port is being used to trigger the 'Static Number' Object and send out the stored number. |
2 | Value | Number | This port is being used to receive a message including the number that is supposed to be saved in the 'Static Number' Object. |
Out Ports
Position | Name | Message Type | Description |
---|---|---|---|
1 | Value | Number | This port is being used to send out the stored value of the 'Static Number' object. |
Properties
Name | Description |
---|---|
Object Name | The name of the object on the canvas. |
Show Code View | The switch to turn on code view for the Code Object. |
Duplicate code into custom Code Object |