SetOption¶
Set all option fields in 1 call.
Declaration¶
Source position: getopts.pp line 39
procedure TOption.SetOption(const aName: string; AHas_Arg: Integer=0;
AFlag: PAnsiChar=Nil; AValue: AnsiChar=#0);
Description¶
SetOption can be used to set all fields in 1 single call:
- Name is set to aName
- Has_arg is set to aHas_arg
- Flag is set to aFlag
- Value is set to aValue