Hey - - --  --

I have a program with a whole, uh, "spitload" of "replace" commands.  
This is something that started out innocently enough, but has grown  
to one ugly dog.

Mostly the commands are mixed up thusly:

  replace all ;
   <field1> with "Literal Value1" ;
   for <field1> = "crappy literal value"

with the occasional

  replace all ;
   <field1> with "Literal Value1", ;
   <field2> with "Different Value2" ;
   for <field1> = "crappy literal value"

  -- thrown in just for fun.

I have come to believe that it would be better to parse this dog, and  
put the seek, replace1 and replace2 values in a table.

Anybody done this parsing before? I suppose it would be a low-level  
file function thing, since we were talking about that the other day.  
(Which I remember but always hated.)

Anybody done such a thing & willing to share?

Ken


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/b82a0b62-cc34-42c9-870b-dbcac8a74...@information-architecture.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to