> -----Original Message-----
mailto:[EMAIL PROTECTED]]On Behalf Of Deva
> Subject: MI Is this a bug in mapinfo?
>       I had encountered some basic doubts in mapinfo..I like to know whether
> that is  bug in mapinfo..At first,I had drawn a square of 10m*10m.I gave
> the coordinates as (0,0),(10,10),(10,0) and (0,10).I had set the
> projection as non-earth metres.As soon as,i drew a square of side 10m,I
converted it
> to a region using the tool "convert to region".Now ,i used regioninfo to
> get the region info property.But amazingly,it gave the area of the square
> as 100.2 sqm and perimeter as 40m.I like to whether it is a bug in
> mapinfo..or did i  made any mistakes in drawing the square...
> ....
>

Deva,

Not a trace of bad behaviour with 4.5 or 5.0. I get exactly 100 sqm and I
tried different ways to build the "square". Would need more info to find the
potential cause.

> Now,my second doubt is how can find whether a table of name "X.tab" is
> opened or not. Is there any direct function available to check it..

No direct function. You have to get first the number of open tables by
NUMTABLES(), then if > 0, check if TABLEINFO(IT, table_info_name)="X"  (IT =
a loop variable from 1 to NUMTABLES() )

Jacques Paris
============================================================
e-mail        [EMAIL PROTECTED]

gis activity (MapInfo mainly)
      http://www.total.net/~rparis/gisproducts.htm
============================================================

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to