# Does ChoiceScript do arrays?

**URL:** <https://forum.choiceofgames.com/t/does-choicescript-do-arrays/70789>\
**Category:** ChoiceScript Help\
**Created:** [December 21, 2019, 2:16am UTC](https://forum.choiceofgames.com/t/does-choicescript-do-arrays/70789 "2019-12-21T02:16:14Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![GoldenSilver](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/goldensilver/32/110153_2.png) [@GoldenSilver](https://forum.choiceofgames.com/u/GoldenSilver)\
**Post date:** [December 21, 2019, 7:50pm UTC](https://forum.choiceofgames.com/t/does-choicescript-do-arrays/70789/10 "2019-12-21T19:50:10Z")

</div>

> [@Alice-chan](#):
>
> could some kind person explain what i might use arrays for in choicescript? or point me to something that would explain their usefulness. tia

Here is an example of an use:

> [@\*Rand values (traits) repeating twice help](https://forum.choiceofgames.com/t/rand-values-traits-repeating-twice-help/56716/46):
>
> Hmm alright, I’ll break the code down and try to explain how it works bit by bit. I’ll also only leave the essentials. It’s gonna be long but I’ll try my best to break it down. If you still don’t feel comfortable in using it, I don’t mind. I had fun making it. Here is the simplified code, I removed the search and made only one type of display available. This one is 159 lines. [image] \*title Trait randomizer \*author GS \*create implicit\_control\_flow true \*create trait\_1 "Compassionate" \*creat…

---

_[View the full topic](https://forum.choiceofgames.com/t/does-choicescript-do-arrays/70789)._
