Dave, you probably want to use array "dot notation".  It is a quite useful
substitute for custom types.
In the online help, see the bottom half of Help for GISDK-Creating GISDK
Macros-Language Elements-Types-Arrays.

Larry Manire



-----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 --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/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