[GRASS5] g.region G_usage() commented out?

Russell Nelson nelson at crynwr.com
Wed May 15 10:41:39 EDT 2002


Glynn Clements writes:
 > > I'm not sure that adds anything to the error report.  
 > 
 > Well, the description field will indicate that the format has to be
 > dd:mm:ss for lat/lon locations.

I can't imagine it hurts to give a user more information.

 > However, the mechanism which is used involves calling library
 > functions before G_parser() has returned, which would stop working if
 > we were implement "standard" options such as "location=".

So, you're saying that the entire die() function is not wisely implemented?

 > > On a general note, would it be desirable to have G_{lat|lon|llres}_scan
 > > fall back to reading doubles and then range check the value?
 > 
 > I would say so.

Speaking of which, what's this MARKER stuff in those functions?  Is
that a holder from the FORTRAN implementation?  Anybody mind if I add
code to read doubles and delete the MARKER stuff at the same time?

-- 
-russ nelson              http://russnelson.com | Okay, enough is enough!
Crynwr sells support for free software  | PGPok | Can we PLEASE all stop
521 Pleasant Valley Rd. | +1 315 268 1925 voice | using insecure Microsoft
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | email products???



More information about the grass-dev mailing list