|
ID: 15822, Smart console text replacement tool for Pascal *code*
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:
|
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
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
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).
|
|

Server Response from: ETNACDC04
|
Connect with Us