HelpWizard Pages ReferenceManual1 Smalltalk/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „link=HelpWizard Pages ReferenceManual1/en|up <strong>Input</strong> <br>Report an error, if the pin has no value. * ''inputPinName''&nb…“) |
Cg (Diskussion | Beiträge) |
||
Zeile 15: | Zeile 15: | ||
<strong>Output</strong> |
<strong>Output</strong> |
||
* ''outputPinName'' '''value:''' ''valueWritten''<br>send a value to the output pin. The output pin's type must be compatible. |
* ''outputPinName'' '''value:''' ''valueWritten''<br>send a value to the output pin. The output pin's type must be compatible. |
||
[[Category: HelpWizard/en]] |
|||
[[Category: HelpWizard API/en]] |
|||
[[Category: HelpWizard API Smalltalk/en]] |
Version vom 10. März 2021, 18:49 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.