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 :
bye
Mailing lists / fpc-pascal / 2002-02
getopt
2 messages · 2 people · –
- Michael Van Canneyt 1
- Shifted Soul 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
