I'm re-writing a procedure that "finds" the corners of a polygon and
stores the node information into a custom type array.  So, the first
node's information is in the first entry in the array, second with the
second and the last in the last.  I haven't had a lot of experience
working with arrays.  Some insight would be helpful.  I haven't  been
able to figure out/find the best way to get to the node information for
the node in the southwest corner?

OR in other words, how do I find X, where: array(X).corner="SW"


When I wrote the code the first time, I defined 9 variables as integers
(like SW).  Then cycled through the nodes, if the node was the southwest
corner; then SW was assigned the value of the node number.  So, to find
the latitude of the southwest corner:  array(SW).Latitude.

I would like to get away from global variables, having a bunch of
variables and dim statements, and be able to pass values with call
commands.   





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

Reply via email to