more trouble...

Phil Davis revdev at pdslabs.net
Wed Apr 2 02:14:44 EDT 2014


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, larry at significantplanet.org 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
> 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
>

-- 
Phil Davis





More information about the use-livecode mailing list