HelpWizard Pages ReferenceManual1 Smalltalk/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(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…“)
 
Zeile 15: Zeile 15:
<strong>Output</strong>
<strong>Output</strong>
* ''outputPinName''&nbsp;'''value:'''&nbsp;''valueWritten''<br>send a value to the output pin. The output pin's type must be compatible.
* ''outputPinName''&nbsp;'''value:'''&nbsp;''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

up

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.



Copyright © 2014-2024 eXept Software AG