Hi Peter,

Here is an example I just made:

dim numPoints as integer
dim numLines as integer
dim numRegions as integer
open file "link.map" for binary access read as #1
get #1,317,numPoints
get #1,321,numLines
get #1,325,numRegions
close file #1
print numPoints
print numLines
print numRegions

I have normally been doing this from Delphi, but mapbasic seems to
handle this situation OK.

Regards
Uffe


----- Original Message ----- 
From: "Peter Horsb�ll M�ller" <[EMAIL PROTECTED]>
To: "Uffe Kousgaard" <[EMAIL PROTECTED]>; "Mapinfo-L"
<[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 11:36 AM
Subject: RE: MI-L Ang. MI-L Drawing Order


Great !

Streange that has never been accessible from within MapBasic. I know
that it was kind of accessible using MapX where you could be told which
objecttype was dominant.

Uffe, do you have an example of how to access these information from
MapBasic ? I guess it's pretty simeple if you have been working with
binary files ?

Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13166

Reply via email to