Hi Group:
 
ShowArray() is a good way to get a general view of the contents of a compound 
variable:
 
ShowArray({GetMapScope()})
 
However, there is a section in the Online Help called "Compound Variables". 
This section lists the Valid Selectors. These could also be used with a 
ShowArray() call:
 
scp = GetMapScope()
ShowArray({scp.center, scp.height, scp.width, scp.angle})
 
Stewart
 
Stewart J. Berry (BSc, MSc)
GIS Specialist
Phone: 617-527-4700
Fax: 617-527-5113
Maptitude Mapping Software
Caliper Corporation
1172 Beacon Street, Suite 300, Newton, MA, 02461-9926, USA
 



From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dpdifran
Sent: Monday, August 04, 2008 4:42 PM
To: [email protected]
Subject: [Maptitude] Compound Variables -- View Contents
 
Hello, 

I was wondering if anyone is aware of a catch-all function, such 
as "ShowArray()" or "ShowMessage()" that displays the contents of a 
compound variable? While I believe I've been able to grab a hold of 
these variables with the various "Get" functions, I've been having 
trouble actually seeing their values. (At the moment, I'm particularly 
interested in "scope" variables, so if such a catch-all function 
doesn't exist, it would also be helpful to see a "Show" function that 
applies specifically to scope variables.) 

Thanks!
Dan
 

Reply via email to