# How to ask a question and receive and answer

**URL:** https://discourse.processing.org/t/how-to-ask-a-question-and-receive-and-answer/10814
**Category:** Coding Questions
**Created:** [May 1, 2019, 4:58pm UTC](https://discourse.processing.org/t/how-to-ask-a-question-and-receive-and-answer/10814 "2019-05-01T16:58:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [May 1, 2019, 5:45pm UTC](https://discourse.processing.org/t/how-to-ask-a-question-and-receive-and-answer/10814/2 "2019-05-01T17:45:38Z")

</div>

Button

[https://processing.org/examples/button.html](https://processing.org/examples/button.html)

Keys

[https://processing.org/examples/keyboardfunctions.html](https://processing.org/examples/keyboardfunctions.html)

There are more examples

**Example**

(see also below)

you can get an input in the above example by

```auto
result = result + key;

if (key==RETURN || key==ENTER) {
     // input is entered, proceed with next variable result2
}

```

_I like Scratch and I think processing is useful to go on from Scratch, so welcome!_

---

_[View the full topic](https://discourse.processing.org/t/how-to-ask-a-question-and-receive-and-answer/10814)._
