Arrays
What is an Array?
car1 = "Ford"
car2 = "Volvo"
car3 = "BMW"Access the Elements of an Array
Example
// Get the value of the first array item:
x = cars[0]// Modify the value of the first array item:
cars[0] = "Toyota"Looping Array Elements
Example
Adding Array Elements
Example
Example
Method
Description
Last updated