next up previous contents index
Next: Variables Up: TypesConstants and variables Previous: Constants

Types

TOption = record
  Name    : String;
  Has_arg : Integer;
  Flag    : PChar;
  Value   : Char;
  end;
POption = ^TOption;
The option type is used to communicate the long options to GetLongOpts. The Name field is the name of the option. Has_arg specifies if the option wants an argument, Flag is a pointer to a char, which is set to Value, if it is non-nil.

POption is a pointer to a Option record. It is used as an argument to the GetLongOpts function.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998