3 Replies Latest reply on Jun 10, 2006 12:32 PM by NSurveyor

    Arrays and loops

    ab9hz
      i'm loading variables from an external txt file into arrays - one for course titles and one date array for each title - which then get loaded into comboboxes. the text file looks like

      &totalcourses=5
      &c0=Please choose a course...
      &c1=Assertiveness at Work
      &totaldates1=4
      &c1d0=Select a date...
      &c1d1=14 July 2006
      &c1d2=15 September 2006
      &c1d3=30 November 2006
      &c2=Assessing Skills
      &totaldates2=4
      &c2d0=Select a date...
      &c2d1=17 May 2006
      etc...


      The code is below. i need to find a way to loop through the date arrays so don't have add a new one for each course - can anyone help?