HelpWizard Pages ReferenceManual2/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
⚫ | |||
⚫ | |||
== Reference Manual (Variable Pins) == |
== Reference Manual (Variable Pins) == |
||
⚫ | |||
[<strike>C</strike>] |
|||
⚫ | |||
[<strike>Java</strike>] |
|||
[<strike>Node</strike>] |
|||
[<strike>Python</strike>] |
|||
[JavaScript builtin] |
|||
[[HelpWizard Pages ReferenceManual2_Smalltalk/en | [Smalltalk builtin] ]] |
|||
Currently, steps with a variable number of pins are only supported for builtin JavaScript and builtin Smalltalk actions. |
|||
<strong>Common</strong> |
<strong>Common</strong> |
||
Zeile 14: | Zeile 24: | ||
<strong>Output</strong> |
<strong>Output</strong> |
||
* ''outputPinName''.'''outputPinAt_value'''(''idx'', ''value'')<br>send a value to the idx'th pin |
* ''outputPinName''.'''outputPinAt_value'''(''idx'', ''value'')<br>send a value to the idx'th pin |
||
[[Category: HelpWizard/en]] |
|||
[[Category: HelpWizard API/en]] |
Aktuelle Version vom 10. März 2021, 20:06 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