That isn't overloading put - that's introducing query expressions...

Which would (at least as far as filter currently goes - I have another as yet 
unstated reason for suggesting a revised syntax beyond stopping my own mental 
torture!) eliminate the need for filter into.

e.g 

the lines of X where Y

Could be something which would work anywhere an expression does.

However, small steps - the current filter code is tied to the filter command - 
so additions is easier to do there first as @Monte has demonstrated. 

Warmest Regards,

Mark.


Sent from my iPhone

> On 5 Aug 2018, at 12:29, Mark Wieder via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
>> On 08/05/2018 07:38 AM, Mark Waddingham via use-livecode wrote:
>> 
>> keep lines of X [ where | matching | not matching ] Y into Z -- seems 
>> contorted
> 
> That seems like a good argument for overloading the already-overworked 'put' 
> command:
> 
> put lines of X [ where | matching | not matching ] Y into Z
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to