First 1000 characters without loop?

Mike Kerner MikeKerner at roadrunner.com
Fri Jun 23 11:21:21 EDT 2017


or, what monte was suggesting:
put var1 into var2
delete char 1001 to -1 of var2

On Fri, Jun 23, 2017 at 11:15 AM, Bob Sneidar via use-livecode <
use-livecode at lists.runrev.com> wrote:

> For a loop you would do something like:
>
> repeat with i = 1 to the number of chars of tVar step 1000
>   put char i to i+1000 of tVar into tVar2
>   -- do something with tVar2
> end repeat
>
> bob s
>
>
> > On Jun 22, 2017, at 12:36 , Devin Asay via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> >
> > Hi Devin & Mark,
> >
> > Thanks for this solution.
> >
> > Does that statement create an implied loop?
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list