On 20/giu/06, at 10:38, Steve Garman wrote:
m = r.Search(self.CommandLine)
Sorry, that should be
m = r.Search(System.CommandLine)
I forgot to change it after testing
Thank you Steve!
Anyway, this is a basic parsing which is partially covered by RB.
I have a console application which already provide the argv() array
loaded with all values.
Instead I'm trying to find a method to parse and disambiguate things
like:
"-abc" or "-a -b -c" treated at the same manner
"-f foo" or "-ffoo" considered equals (if -f require a mandatory arg,
otherwise not)
"--help" or other long options with short options equivalence.
and more...
All the above are standard use in *nix environments
Thanks again for your help!
Massimo Valle
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>