April 24, 200322 yr I am writing a script to populate dates and time of day. They need to be filled in to serve as a basis for the rest of the layout (to duplicate the form the customer already uses). 4/21/2003 7:00-7:30 4/21/2003 7:30-8:00 """"""""" """"""""" 4/21/2003 3:00-3:30 4/22/2003 7:00-7:30 I wrote the inner time loop and tested it. It works well and breaks as it should. I added the outer date advance loop and it refuses to work. The global counter I used for the date break point advances once and the time loop never stops. The result is I have to break into the script and I have the correct dates and times for the first date and several hundred records with the second date and all the times repeating over and over and over... Are nested loops taboo? I know the coding is OK from running it in a C program. Any help will be greatly appreciated.
April 24, 200322 yr Author Well, I posted before I gave up. Sorry. I put the inner loop in a sub-script and it works fine.
Create an account or sign in to comment