HelpWizard Pages ReferenceManual2/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 9: | Zeile 9: | ||
[<strike>Node</strike>] |
[<strike>Node</strike>] |
||
[<strike>Python</strike>] |
[<strike>Python</strike>] |
||
⚫ | |||
[JavaScript builtin] |
[JavaScript builtin] |
||
⚫ | |||
Currently, steps with a variable number of pins are only supported for builtin JavaScript and builtin Smalltalk actions. |
Currently, steps with a variable number of pins are only supported for builtin JavaScript and builtin Smalltalk actions. |
Version vom 8. März 2021, 13:07 Uhr
Reference Manual (Variable Pins)[Bearbeiten]
[C]
[Java]
[Node]
[Python]
[JavaScript builtin]
[Smalltalk builtin]
Currently, steps with a variable number of pins are only supported for builtin JavaScript and builtin Smalltalk actions.
Common
- pinName.numberOfVariablePins()
how many instances of the variable pin are there
Input
- inputPinName.valueAt(idx)
retrieve the value from the idx'th pin
- inputPinName.hasValueAt(idx)
check if the idx'th pin has a value
Output
- outputPinName.outputPinAt_value(idx, value)
send a value to the idx'th pin