Abstract
Almost every program needs to accept data so it can manipulate that data and calculate a useful result. The simplest way to store data temporarily is through variables that can store numbers or text strings. However, what if you need to store multiple chunks of data such as a list of names or a list of product numbers? You could create multiple variables like this:
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2015 Wallace Wang
About this chapter
Cite this chapter
Wang, W. (2015). Arrays and Dictionaries. In: Swift OS X Programming for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1233-2_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1233-2_9
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1234-9
Online ISBN: 978-1-4842-1233-2
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)