optionsGetRangeString

fnbool optionsGetRangeString(string option, out string value)

Get option as a range string. The string must be in the format <emphasis>[!]<low>[:<high>]</emphasis> where low and high are #guint values. Values between low and high (both included) will be considered in the range, unless <emphasis>!</emphasis> is used to invert the range.

Parameters

optionthe option identifier
valuereturn location for the option value

Returns

true if value has been set or false if the option doesn't exist