Variance of Restrict to Lines

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
Cratos
Posts: 1
Joined: Sat Mar 04, 2006 7:29 am

Variance of Restrict to Lines

Post by Cratos » Sat Mar 04, 2006 7:35 am

Is there a Restriction filter (or workaround) that will limit the code to be processed based on a "start" identifier and terminated by an "end" identifier, the identifiers being specific literals in the text?

For example:
When the text "DATA DIVISION" is encountered, perform all sub-filters until the text "WORKING-STORAGE SECTION" is found. The number of lines between the start identifier and the end identifier is not constant within different files.

Thanks.

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

Post by DataMystic Support » Thu Mar 09, 2006 8:04 am

Yes - just use a search/replace as the Restriction.
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