Watch, Follow, &
Connect with Us

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


ID: 16260, "getopt" component for commandline parsing

by Danny Heijl Email: Anonymous


Easy to use Unix-style "getopt()" component, supports short and long option format and default values.
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 6.0 517 downloads
Copyright: No significant restrictions


Size: 3,460 bytes
Updated on Thu, 21 Jun 2001 13:16:34 GMT
Originally uploaded on Thu, 21 Jun 2001 12:44:46 GMT
SHA1 Hash: AFCC71517944E757BB099A90D57A75BCE75FE403
MD5 Hash: D2E27186E86ABBC4DD4CD45B318E49A9

    Explore the files in this upload

Description
Small component that features Unix "getopt()" - style commandline arguments parsing. Supports short option and long option formats, required and optional options, and default values.
Set a few properties and then call GetOpt repeatedly to handle the parsed options until all options are processed.
GetOpt throws an exception when required options are missing, wrong options are present etc...
Commandline arguments can be quite useful in GUI applications too, they are not restricted to console apps !

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC03