Previous Example-|-Next Example-|-Return to Chapter Listing
Example 6.17:
Duplicating a do while Loop
The button calls function1(), which duplicates a 'do while' loop. Even though variable sWord is already set to Aardvark, the Prompt dialog box will open. If you don't type anything, or if you type something other than Aardvark, the while loop kicks in:
This is the script we used:
Then we used this button:
Previous Example-|-Next Example-|-Return to Chapter Listing