Greetings

I have a GRASS C module where I need to parse a FLOAT. I tried this:
parm.k = G_define_option();
parm.k->key = "k";
parm.k->type = TYPE_FLOAT;
parm.k->key_desc = "k parameter";
parm.k->required = YES;
parm.k->description =
_("k parameter");

but I gopt this error while compiling:
main.c:97: error: ‘TYPE_FLOAT’ undeclared (first use in this function)
main.c:97: error: (Each undeclared identifier is reported only once
main.c:97: error: for each function it appears in.)
So it does not recognize TYPE_FLOAT (I had TYPE_INTEGER)

What is suppose to be?


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5571 (20101028) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to