UserInterface/Find_Option [ Functions ]
FUNCTION
Search configuration.options for a specific option.
SYNOPSIS
int Find_Option( char *option ) /* INPUTS * o option -- the option to be found.
RESULT
- TRUE -- option does exist
- FALSE -- option does not exist
SOURCE
{ unsigned int parameter_nr; int found = FALSE; for ( parameter_nr = 0; parameter_nr < configuration.options.number; parameter_nr++ ) { if ( !RB_Str_Case_Cmp ( configuration.options.names[parameter_nr], option ) ) { found = TRUE; break; } } return found; }