Do this:
repeat for each line thisLine in myTrainingLines
if the length of thisLine > 5 then put thisLine & return after myList
end repeat
delete last char of myList
put myList into field myTrainingOps
Phil Davis
On 4/1/14, 10:32 PM, [email protected] wrote:
I have the following code in my app:
repeat for each line thisLine in myTrainingLines
if the length of thisLine > 5 then
put thisLine & return after field myTrainingOps
end if
end repeat
-- filter field myTrainingOps without empty -- WHY IN THE HECK DOESN'T THIS
LINE WORK????
delete line 11 of field myTrainingOps -- SO I HAVE TO USE THIS LINE; BUT I
KNOW THERE ARE ONLY SUPPOSED TO BE 10 LINES. WHAT IF I HAVE A VARYING NUMBER
OF LINES???
Again, thanks in advance for the help!
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Phil Davis
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode