Sorting lines by variable directions and types

Ken Ray kray at sonsothunder.com
Sun Jun 27 23:14:00 CDT 2010


> Is there some slight of hand I can perform on the variables tDirection
> and tType to make my one-liner functional, i.e.
> 
>      sort lines of  tList   MagicOperator(tDirection)
> MagicOperator(tType) by word 1 of each

You should be able to use "do" for this:

  do "sort lines of tList" && tDirection && tType && "by word 1 of each"


Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/





More information about the use-livecode mailing list