Hi,
Using a "repeat", it is straight forward to put line 4 to line 150 of fld"text" into a new variable.
For really large sections of text, the repeat loop takes a long time to do the task. Is it possible to use "chunk" to put that same section of text into a new variable with a single line of code?
Thanks for any pointers.
using chunks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
using chunks
Ken
Hi Ken,
Doesn't the following line do what you need?
put line 4 to 150 of fld "The Text" into myNewVar
Best,
Mark
Doesn't the following line do what you need?
put line 4 to 150 of fld "The Text" into myNewVar
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode