Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 15822, Smart console text replacement tool for Pascal *code*

by Barry Kelly Email: Anonymous


SmartReplace: Command-line tool, replaces valid Pascal identifiers only (ignores comments and strings). Useful for instantiating code templates with types, or refactoring.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 5.0 295 downloads
Copyright: No significant restrictions


Size: 40,237 bytes
Updated on Sat, 07 Apr 2001 20:28:41 GMT
Originally uploaded on Sat, 07 Apr 2001 20:19:28 GMT
SHA1 Hash: 7C4856A5D7C42C279702F4C89CA7BB7A6AD08A1A
MD5 Hash: 1BCC77DC28CED928890CA1D6B1029BE5

    Explore the files in this upload

Description
SmartReplace: A command-line tool which replaces valid Pascal identifiers only (ignores comments and strings). Useful for instantiating code templates with types, or refactoring. The source code demonstrates basic lexical analysis techniques, by splitting the source stream into identifiers and other text types. Example usage: Say you want to rename all occurrances of the identifier TOldName with TNewName in the file MyUnit.pas: ren MyUnit.pas MyUnit.bak srpas MyUnit.bak MyUnit.pas TOldName=TNewName The syntax is simple: srpas = [=...] is replaced with wherever it occurs in the file as a valid identifier (excludes strings and comments).

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03