Export and Import Lists

Lists can be exported as a txt file, vice versa, lists can be created by importing a txt file.

Introduction

Lists in Kittenblock/Scratch can be exported as txt files or created from a txt file.

../../_images/array1.png

Using this function

We will try exporting a list first.

Create a list.

../../_images/array2.png

Add some items to the list.

../../_images/array3.png

../../_images/array4.png

Right-click on the list and click export.

../../_images/array5.png

Open the txt file to see the lists items are stored in this file.

../../_images/array6.png

Next we will try importing a txt file to make a list.

Create a txt file and input some items with each item being separated with a new line.

../../_images/array7.png

Create a list in KittenBlock.

../../_images/array8.png

Right-click on this list and select import.

../../_images/array9.png

Select the txt file and the list items will be automatically appended.

../../_images/array10.png