# Combined arrays position text

**URL:** <https://discourse.processing.org/t/combined-arrays-position-text/37452>\
**Category:** Coding Questions\
**Created:** [June 10, 2022, 1:22pm UTC](https://discourse.processing.org/t/combined-arrays-position-text/37452 "2022-06-10T13:22:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Chigoz](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Chigoz](https://discourse.processing.org/u/Chigoz)\
**Post date:** [June 10, 2022, 4:24pm UTC](https://discourse.processing.org/t/combined-arrays-position-text/37452/3 "2022-06-10T16:24:07Z")

</div>

So much effort has been put to solve a similar question. Check solution 11+ of this thread.

> [@I need help with arrays](https://discourse.processing.org/t/i-need-help-with-arrays/37381/14):
>
> Check out this correction; distancesSG = calc\_Distance(Pos\_XS,Pos\_YS ,Pos\_GX,Pos\_GY); distances = (cities[i][j],cities[i][j+1], distancesSG);

---

_[View the full topic](https://discourse.processing.org/t/combined-arrays-position-text/37452)._
