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…“)
(kein Unterschied)

Version vom 8. März 2021, 12:39 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