Repeat variable name changing

Jim Hamlyn jim at
Sat Mar 8 12:48:19 EST 2008

Thanks Ken that seems really close but the time needs to increment up for
each line by the value of ³Add².


From: Ken Ray <kray at>
Organization: Sons of Thunder Software
Reply-To: How to use Revolution <use-revolution at>
Date: Sat, 8 Mar 2008 11:35:26 -0600
To: How to use Revolution <use-revolution at>
Subject: Re: Repeat variable name changing

on mouseUp
  put fld "myField" into tNames
  put fld "StartTime" into tTime
  convert tTime to dateItems
  add fld "Add" to item 5 of tTime
  convert tTime to time
  repeat with x = 1 to the number of lines of tNames
    put (tTime & ":" & tab) before line x of tNames
  end repeat
  put tNames into fld "myField"
end mouseUp

More information about the Use-livecode mailing list