Restrict filters - new idea

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
DFH
Posts: 956
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Restrict filters - new idea

Post by DFH » Fri May 01, 2020 12:19 am

Today it occurred to me that a useful enhancement to TextPipe would take the form of a new filter action in which one could have:
  • Restrict to when variable X is equal to variable Y
or
  • Restrict to when variable X is not equal to variable Y
This would make use of global variable numbers 1 to 9 defined in the search pattern, in the same manner as the filter action:
  • Send variable X to subfilter
The whole search pattern should be sent to the subfilter when the specified condition was met.

Best regards,

David

User avatar
DataMystic Support
Site Admin
Posts: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Restrict filters - new idea

Post by DataMystic Support » Wed Sep 23, 2020 10:34 pm

Hi David,

This would not work, because TextPipe's processing of the file is asynchronous. You cannot tell at any time, which elements of the file are passing through what filter at what time. This makes it ultra-fast, but also hard to reason about.
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply