O'Reilly logo

LiveCode Mobile Development HOTSHOT by Edward D Lavieri Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming the Arrays option

Arrays are a way to organize data in memory. You can think of arrays as being as simple as a list or as complicated as a spreadsheet. We use arrays in programming to help make our code efficient and to logically store data.

In this task we will create an array, populate it, sort it, and search it.

Engage Thrusters

  1. Create a new card and name it Arrays.
  2. Drag a Rectangle Button onto the card and make the following customizations using the properties inspector:
    1. Set the width to 82 and the height to 23.
    2. Set the location to 49, 17.
    3. Set the name of the button to Back.
    4. Set the label of the button to Back.
    5. Set the background color to blue.
    6. Set the foreground color to white.
    7. Set the text size to 12.
    8. Add the following script to the Back ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required