You can use Coord() function 

Creates a specified coordinate.


Syntax

coord_value = Coord(integer lon, integer lat)

Argument        Contents
lon     Longitude value in millionths of a degree
lat     Latitude value in millionths of a degree
Returns

A coordinate; see Compound Variables.


Example

my_house = Coord(-86425612, 37519023)


-----Original Message-----
From: Dave Twehues [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 03, 2004 5:06 PM
To: Maptitude (E-mail)
Subject: [Maptitude] custom data type


Question for the group....Is is possible to create a custom data type in
the
DK just as you would in another language (C++, VBA etc...?) to use
throughout an application?
For a generic example of an existing data type...

Type Coord
        lat as double
        lon as double
End Type

Then in your application you could use the created type as follows
setting
the individual parts as needed.....

dim my_house as Coord
my_house.lat = 40.05
my_house.lon = -83.39

Thanks in advance,
Dave



David Twehues
Vogt, Williams & Bowen LLC
(614) 225-9500
http://www.vwbresearch.com





 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/C5grlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Maptitude/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to