View Single Post
Super Moderator
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 08-06-2015, 03:37 PM

Originally Posted by shaolinkidd View Post
ndx = 99
while ndx > 0
Do all your singing stuff
stuff to do after the song has ended.

When you get to 1 it will sing about one bottle of soda and decrement ndx to 0 at which point the while loop will exit
Note: for testing I would make ndx=3 and make sure everything works then change it to 99 before you submit it.


Mark Henwood
Reply With Quote