This works fine in MI Pro v 6.0. I'd add a line to the example though:
Set Distance Units "km"
Jacques Paris wrote:
>
> I just noticed what seems to be a bug with createcircle(). If I do
>
> Dim o as object
> o=createcircle(1,0,10)
> print area(o,"sq km")
> print perimeter(o,"km")
>
> area= 0 and perimeter>0. It seems that if the x or the y (or both) of the
> circle center is =0, this kind of result will occur.
>
> Whose fault is it? Createcircle() or Area()???
>
> MI 6.0
>
> Jacques Paris
>
> [EMAIL PROTECTED]
> MapInfo support > http://www.paris-pc-gis.com
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
--
- Bill Thoen
------------------------------------------------------------
GISnet, 1401 Walnut St., Suite C, Boulder, CO 80302
tel: 303-786-9961, fax: 303-443-4856
mailto:[EMAIL PROTECTED], http://www.ctmap.com/gisnet
------------------------------------------------------------
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.