# Help with reset a int\[\] and multiple screens

**URL:** <https://discourse.processing.org/t/help-with-reset-a-int-and-multiple-screens/10707>\
**Category:** Processing for Android\
**Created:** [April 28, 2019, 11:37am UTC](https://discourse.processing.org/t/help-with-reset-a-int-and-multiple-screens/10707 "2019-04-28T11:37:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [April 28, 2019, 12:27pm UTC](https://discourse.processing.org/t/help-with-reset-a-int-and-multiple-screens/10707/2 "2019-04-28T12:27:35Z")

</div>

-a- pls format your code  
-1- in the processing IDE with [ctrl][t]  
-2- in the forum editor using

```auto
</> code tag

```

and paste your code in-between the  
```  
your code  
```

-b- your code should run from the IDE?  
is it a question about android?  
ok, for test run would need the pictures.  
or  
if the pictures are not needed for testing what your question is about,  
show some code about the problem without need of extra files…

-c-  
you ask about your array

```auto
int [] hinder;
void setup() {
  hinder = new int[100];
  for (int i=0; i<20; i=i+1)
  {
    hinder[i]=2000;
  }
}

void draw() {
// ...
    hinder[counter]=2000;
// ...
    hinder[i]=hinder[i]-hinderspeed[i];

}

```

so, where? you want to do what? with that array? pls more details

---

_[View the full topic](https://discourse.processing.org/t/help-with-reset-a-int-and-multiple-screens/10707)._
