Abstract
Variables give you more flexibility in your scripts, as you learned in Chapter 8, but are limited to storing a single value at any one time. What if you need to store multiple, related values, such as a wish list or a grocery list? You could use several separate variables, but you’d have to create them all ahead of time, which takes time and guess work. Scratch offers another, easier solution: you can create a list.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Eduardo A. Vlieg
About this chapter
Cite this chapter
Vlieg, E.A. (2016). Lists. In: Scratch by Example. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1946-1_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1946-1_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1945-4
Online ISBN: 978-1-4842-1946-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books