Repeat variable name changing

Jim Hamlyn jim at jimhamlyn.co.uk
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².

Jim


From: Ken Ray <kray at sonsothunder.com>
Organization: Sons of Thunder Software
Reply-To: How to use Revolution <use-revolution at lists.runrev.com>
Date: Sat, 8 Mar 2008 11:35:26 -0600
To: How to use Revolution <use-revolution at lists.runrev.com>
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