[fpc-pascal]getopt

Shifted Soul snsii at yahoo.fr
Wed Feb 20 23:19:04 CET 2002


Hello
I want to use options via the getopt unit but it was not found in the
units (fpc 1.0.4 win32/go32v2/linux).
The solution was to create a getopt like unit.
I finished it with some changes :
- The options are handled from a class (TParams)
- An automatic error handling is present (duplicated, unknown ...
parameters).
- Easy to implement, with only one constructor, to specify the possible
parameters
and to test their presence.
and some others.
If anyone wants it, email me at : snsii at yahoo.fr
bye




More information about the fpc-pascal mailing list