OK, if I get it right,

input->required=YES
is the same as:
input->guisection=_("Required")

therefore the second line is useless.
In the same way, is the following identical too?

input->required=NO
is it the same as below?
input->guisection=_("Optional")

Thanks for the links on the other topics,
I will start reading them.

Yann

2008/5/4 Hamish <[EMAIL PROTECTED]>:
> Yann Chemin:
>
> > OK, a small misunderstanding here, some small examples.
>  >
>  > input->guisection will create a Tab in the GUI with the name given to
>  > it.
>  >
>  > input->guisection = _("Required");
>  > input->guisection = _("Optional");
>  > input->guisection = _("Set of functions 1");
>  > input->guisection = _("Parameters for output2");
>  >
>  > on the other hand,
>  > input->required=YES
>  > forbids the code to run on empty "input"
>
>
>  yes, the above is correct, just note that this is meaningless, other than
>  to group that option in a tab by that name:
>   input->guisection = _("Required");
>
>  (and thus that is confusing+redundant and shouldn't be used IMHO)
>
>
>
>
>  Hamish
>
>
>
>
>       
> ____________________________________________________________________________________
>  Be a better friend, newshound, and
>  know-it-all with Yahoo! Mobile.  Try it now.  
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>



-- 
Yann Chemin
International Rice Research Institute
Office: http://www.irri.org/gis
Perso: http://www.freewebs.com/ychemin
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to