Hi Ruurd, instead of defining your latitude/longitude arguments as CSTRING and then manually converting them, you can define your arguments as (e. g.) float and have Rexx do the conversion for you.
~~~ float lat, // Latitude in decimal degrees float lon, // Longitude in decimal degrees ~~~ The actual issue may be a bug as ObjectToDouble calls C's strtod() which seems to adhere to the locale (decimal dot vs decimal comma). It seems rexx doesn't globally set the "C" locale but runs with whatever locale it is being started in. Does it work as expected if you run your script in either of these two forms? LANG=C rexx <name.rex> LC_NUMERIC=C rexx <name.rex>
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel