HelpWizard Pages ReferenceManual1 Smalltalk/en
Version vom 8. März 2021, 12:39 Uhr von 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…“)
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.