[GRASS-user] option multiple integer parameter problem

Hi list,
I have some problems with integer type module parameters when the
multiple is set to true.
E.g. in r.univar_main.c:

param.percentile = G_define_option();
    param.percentile->key = "percentile";
    param.percentile->type = TYPE_INTEGER;
    param.percentile->required = NO;
    param.percentile->multiple = YES;
    param.percentile->options = "0-100";s
    param.percentile->answer = "90";
    param.percentile->description = _("Percentile to calculate
(requires extended statistics flag)");

the result is a flag box without text input. The textbox appears if I
remove the "multiple" parameter.

The same happens in bash scripts. Eg, if in v.rast.stats I set
"multiple" the textbox disappear...

Giovanni

I forgot to say that I'm using grass_devel6 from SVN Rev.32879

2008/9/29 G. Allegri <giohappy@gmail.com>:

Hi list,
I have some problems with integer type module parameters when the
multiple is set to true.
E.g. in r.univar_main.c:

param.percentile = G_define_option();
   param.percentile->key = "percentile";
   param.percentile->type = TYPE_INTEGER;
   param.percentile->required = NO;
   param.percentile->multiple = YES;
   param.percentile->options = "0-100";s
   param.percentile->answer = "90";
   param.percentile->description = _("Percentile to calculate
(requires extended statistics flag)");

the result is a flag box without text input. The textbox appears if I
remove the "multiple" parameter.

The same happens in bash scripts. Eg, if in v.rast.stats I set
"multiple" the textbox disappear...

Giovanni