Repeat variable name changing

-= JB =- sundown at pacifier.com
Sat Mar 8 13:02:15 EST 2008


Couldn't you just move the repeat a few lines higher?

-=>JB<=-


On Mar 8, 2008, at 9:48 AM, Jim Hamlyn wrote:

> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list