• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 8. Repeating Yourself: Using Loops > Workshop: Working with Arrays and Loo...

Workshop: Working with Arrays and Loops

To apply your knowledge of loops, you will now create a script that deals with arrays using loops. (As you progress through this script, try to imagine how difficult it would be without loops.)

This simple script will prompt the user for a series of names. After all of the names have been entered, it will display the list of names in a numbered list. To begin the script, initialize some variables:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint