revdev at pdslabs.net
Wed Apr 2 08:14:44 CEST 2014
repeat for each line thisLine in myTrainingLines
if the length of thisLine > 5 then put thisLine & return after myList
delete last char of myList
put myList into field myTrainingOps
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:
More information about the use-livecode