# Copy a list from previous slide

**URL:** <https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019>\
**Category:** Questions\
**Created:** [November 23, 2020, 6:56pm UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019 "2020-11-23T18:56:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrsKrapf](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MrsKrapf](https://cl.desmos.com/u/MrsKrapf)\
**Post date:** [November 23, 2020, 6:56pm UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019/1 "2020-11-23T18:56:45Z")

</div>

Hello all!

I’m trying to have my students create a list (using the graphing calculator) on one slide in the activity builder, and then use that same list throughout the activity.

Is there a way to do this? Establish a list on one slide to reference throughout the activity?

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [November 23, 2020, 10:01pm UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019/2 "2020-11-23T22:01:58Z")

</div>

If you direct them to give it a specific name (e.g. `L=[1,2,3,5,7]`) , then you can later use `graph.numberList(`L`)` to reference it.

---

<div class="post-metadata">

**Author:** ![MrsKrapf](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MrsKrapf](https://cl.desmos.com/u/MrsKrapf)\
**Post date:** [November 24, 2020, 7:59pm UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019/3 "2020-11-24T19:59:40Z")

</div>

Not working just yet – I’m sure I have a small coding error, somewhere…

> **[Rowers Weights • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5fbbe56b51e3e60bd3d465de)**
>
> by Kelly Krapf

Any suggestions?

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [November 25, 2020, 3:33am UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019/4 "2020-11-25T03:33:49Z")

</div>

In your slide 4 graph CL, `K=` only attempts to create a variable in the CL. It won’t put it into the graph (you also can’t have lists as variables in CL). You need to use a sink. You can also use W again if you want, instead of K, as I’m doing below.

```auto
numberList(`W`): Calc2.numberList(`W`)

```

You don’t need anything in the graph for it to be created, but you won’t see it.  
If you want students to actually see the list of numbers, you’ll need to use a table in the graph. I’d prefill the first column with 1-16 since you want that many elements, and title the second column W, then you’ll see all the elements of the list.

---

<div class="post-metadata">

**Author:** ![MrsKrapf](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MrsKrapf](https://cl.desmos.com/u/MrsKrapf)\
**Post date:** [November 25, 2020, 5:51pm UTC](https://cl.desmos.com/t/copy-a-list-from-previous-slide/2019/5 "2020-11-25T17:51:25Z")

</div>

It worked!!! It worked!!! TY Desmos ninja!!!
