Repeat variable name changing

Jim Hamlyn jim at jimhamlyn.co.uk
Sat Mar 8 19:01:01 EST 2008


It works ­ moving the repeat line 3 lines higher up did the trick ­ it¹s so
so neat!

Thanks a million

Jim H



From: -= JB =- <sundown at pacifier.com>
Reply-To: How to use Revolution <use-revolution at lists.runrev.com>
Date: Sat, 8 Mar 2008 10:02:15 -0800
To: How to use Revolution <use-revolution at lists.runrev.com>
Subject: Re: Repeat variable name changing

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
>

_______________________________________________
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