HelpWizard Pages ReferenceManual1 Smalltalk/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
[[Datei:arrowup.png|link=HelpWizard Pages ReferenceManual1/en|up]] |
[[Datei:arrowup.png|link=HelpWizard Pages ReferenceManual1/en|up]] |
||
[[Datei:arrowright.png|link=HelpWizard Pages ReferenceManual2 Smalltalk/en|up]] |
|||
<strong>Input</strong> |
<strong>Input</strong> |
Version vom 10. März 2021, 19:31 Uhr
Input
Report an error, if the pin has no value.
- inputPinName value
fetch the value from an input pin; reports an error, if there is no value.
- inputPinName valueIfPresent
if the pin has a value, fetch it. Otherwise return nil.
- inputPinName valueIfAbsent: defaultValue
if the pin has a value, fetch it. Otherwise return defaultValue.
Testing
- inputPinName hasValue
true if the input pin has a value; false if not
Output
- outputPinName value: valueWritten
send a value to the output pin. The output pin's type must be compatible.