Re: [fpc-pascal] Using flag field in Getopts

2012-10-31 Thread luciano de souza
If I correctly understood, the flag field is to find arguments. If it remains "nil", the argument was not found, otherwise, it's a pointer to the short option. 2012/10/30, Henry Vermaak : > On 30/10/12 10:05, luciano de souza wrote: >> Hello listers, >> Getopts offers very good features to proces

Re: [fpc-pascal] Using flag field in Getopts

2012-10-30 Thread Henry Vermaak
On 30/10/12 10:05, luciano de souza wrote: > Hello listers, > Getopts offers very good features to process commandline arguments. As > far as I could understand, I used it successfully. But it remains one > unknown aspect for me. What is the field "flag"" of TOption record? > How to use it? > >